DEFAULT_DRAW_HELPER
DEFAULT_DRAW_HELPER
Makes the helper setting optional for common use cases
Class InstructionsRenderer
$drawHelpers : \WebinoDraw\Draw\HelperPluginManager
$locator : \WebinoDraw\Dom\Locator
$nodeListFactory : \WebinoDraw\Dom\Factory\NodeListFactory
$instructionsFactory : \WebinoDraw\Factory\InstructionsFactory
$drawOptions : \WebinoDraw\Options\ModuleOptions
__construct(object|\WebinoDraw\Draw\HelperPluginManager $drawHelpers, \WebinoDraw\Dom\Locator $locator, \WebinoDraw\Dom\Factory\NodeListFactory $nodeListFactory, \WebinoDraw\Factory\InstructionsFactory $instructionsFactory, object|\WebinoDraw\Options\ModuleOptions $drawOptions)
object|\WebinoDraw\Draw\HelperPluginManager | $drawHelpers | |
\WebinoDraw\Dom\Locator | $locator | |
\WebinoDraw\Dom\Factory\NodeListFactory | $nodeListFactory | |
\WebinoDraw\Factory\InstructionsFactory | $instructionsFactory | |
object|\WebinoDraw\Options\ModuleOptions | $drawOptions |
render(\WebinoDraw\Dom\NodeInterface $node, array|\WebinoDraw\Instructions\InstructionsInterface $instructions, array $vars)
Render the DOMElement ownerDocument
{@inheritDocs}
\WebinoDraw\Dom\NodeInterface | $node | DOMNode |
array|\WebinoDraw\Instructions\InstructionsInterface | $instructions | Draw instructions |
array | $vars | Variables to render |
subInstructions(array|\WebinoDraw\Dom\NodeList $nodes, array $instructions, \ArrayObject $translation) : $this
array|\WebinoDraw\Dom\NodeList | $nodes | |
array | $instructions | |
\ArrayObject | $translation |
expandInstructions(array $spec, \WebinoDraw\VarTranslator\Translation $translation = null) : $this
array | $spec | |
\WebinoDraw\VarTranslator\Translation | $translation |
resolveIsNodeDisabled(\WebinoDraw\Dom\NodeInterface|null $node, array $spec) : boolean
\WebinoDraw\Dom\NodeInterface|null | $node | |
array | $spec |