Neos\ContentRepository\Domain\Model\NodeDataLabelGeneratorAdaptor::getLabel PHP Method

getLabel() public method

Render a node label
public getLabel ( Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $crop = true ) : string
$node Neos\ContentRepository\Domain\Model\NodeInterface
$crop boolean This argument is deprecated as of Neos 1.2 and will be removed. Don't rely on this behavior and crop labels in the view.
return string
    public function getLabel(NodeInterface $node, $crop = true)
    {
        return $this->nodeDataLabelGenerator->getLabel($node->getNodeData(), $crop);
    }