PHP Class Neos\ContentRepository\Domain\Model\ExpressionBasedNodeLabelGenerator

Inheritance: implements Neos\ContentRepository\Domain\Model\NodeLabelGeneratorInterface
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$defaultContextConfiguration array
$eelEvaluator Neos\Eel\EelEvaluatorInterface
$expression string

Public Methods

Method Description
getExpression ( ) : string
getLabel ( Neos\ContentRepository\Domain\Model\NodeInterface $node, boolean $crop = true ) : string Render a node label
initializeObject ( ) : void
setExpression ( string $expression )

Method Details

getExpression() public method

public getExpression ( ) : string
return string

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

initializeObject() public method

public initializeObject ( ) : void
return void

setExpression() public method

public setExpression ( string $expression )
$expression string

Property Details

$defaultContextConfiguration protected_oe property

protected array $defaultContextConfiguration
return array

$eelEvaluator protected_oe property

protected EelEvaluatorInterface,Neos\Eel $eelEvaluator
return Neos\Eel\EelEvaluatorInterface

$expression protected_oe property

protected string $expression
return string