$node->
getNode('display_start'
)->
setNode((string) $index,
$print_node);
} if ($env->
isDebug()) { $node->
getNode('display_end'
) ->
setNode( '0',
new PrintNode(new ConstantExpression(sprintf('<!-- %s Component end: %s -->',
$emoji,
$component_id),
$line),
$line) );
} // Slots can be validated at compile time, we don't need to add nodes to
// execute functions during display with the actual data.
$this->
validateSlots($component,
$node->
getNode('blocks'
));
return $node;
} /**
* Finds the SDC for the current module node.
*
* @param \Twig\Node\Node $node
* The node.
*
* @return \Drupal\sdc\Plugin\Component|null
* The component, if any.
*/