ExpressionBasedNodeLabelGenerator
class ExpressionBasedNodeLabelGenerator implements NodeLabelGeneratorInterface (View source)
The expression based node label generator that is used as default if a label expression is configured.
Properties
protected EelEvaluatorInterface | $eelEvaluator | ||
protected array | $defaultContextConfiguration | ||
protected string | $expression |
Methods
string
getExpression()
No description
setExpression(string $expression)
No description
void
initializeObject()
No description
string
getLabel(Node $node)
Render a node label
Details
string
getExpression()
No description
setExpression(string $expression)
No description
void
initializeObject()
No description
string
getLabel(Node $node)
Render a node label