function wysiwyg_template_form_node_type_form_builder in Wysiwyg API template plugin 3.0.x
Same name and namespace in other branches
- 8.2 wysiwyg_template.module \wysiwyg_template_form_node_type_form_builder()
Entity builder for node type with WYSIWYG template options.
See also
wysiwyg_template_form_node_type_form_alter()
1 string reference to 'wysiwyg_template_form_node_type_form_builder'
File
- ./
wysiwyg_template.module, line 80
Code
function wysiwyg_template_form_node_type_form_builder($entity_type, NodeTypeInterface $type, array &$form, FormStateInterface $form_state) {
$type
->setThirdPartySetting('wysiwyg_template', 'default_template', $form_state
->getValue('wysiwyg_template_default'));
}