Property | Type | Description | |
---|---|---|---|
$nodeTypeManager |
Method | Description | |
---|---|---|
generateNodeTypeSchema ( ) : array | The preprocessed node type schema contains everything we need for the UI: |
Method | Description | |
---|---|---|
flattenAlohaFormatOptions ( array &$options ) : void | In order to allow unsetting options via the YAML settings merging, the formatting options can be set via 'option': TRUE, however, the frontend schema expects a flattened plain numeric array. This methods adjust the setting accordingly. | |
generateConstraints ( ) : array | Generate the list of allowed sub-node-types per parent-node-type and child-node-name. |
protected flattenAlohaFormatOptions ( array &$options ) : void | ||
$options | array | The options array, passed by reference |
return | void |
protected generateConstraints ( ) : array | ||
return | array | constraints |
public generateNodeTypeSchema ( ) : array | ||
return | array | the node type schema ready to be used by the JavaScript code |