$allow_empty
Indicates whether or not an empty array of children is okay.
validateChildren($children, $config, $context)
Validates nodes according to definition and returns modification.
Defines allowed child nodes and validates nodes against it.
Create styles array
The data for the language used.
$elements
Lookup array of all elements that this definition could possibly allow.
getAllowedElements($config)
Get lookup of tag names that should not close this element automatically.
$type
Type of child definition, usually right-most part of class name lowercase.