40 $this->elements = $this->block->elements;
51 if ($context->get(
'IsInline') ===
false) {
52 return $this->block->validateChildren(
58 return $this->
inline->validateChildren(
Definition that uses different definitions depending on context.
__construct($inline, $block)
validateChildren($children, $config, $context)
$inline
Instance of the definition object to use when inline.
$block
Instance of the definition object to use when block.
Definition that allows a set of elements, and allows no children.
Defines allowed child nodes and validates nodes against it.