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