diff --git a/node_type_class.module b/node_type_class.module index a739e82..a5f9024 100644 --- a/node_type_class.module +++ b/node_type_class.module @@ -1,5 +1,8 @@ getFormObject()->getEntity(); $classes = $type->getThirdPartySetting('node_type_class', 'classes', ''); @@ -37,7 +40,7 @@ function node_type_class_form_node_type_edit_form_alter(&$form, \Drupal\Core\For /** * Entity builder for the node type form with Node type class. */ -function node_type_class_form_node_type_form_builder($entity_type, NodeTypeInterface $type, &$form, \Drupal\Core\Form\FormStateInterface $form_state) { +function node_type_class_form_node_type_form_builder($entity_type, NodeTypeInterface $type, &$form, FormStateInterface $form_state) { $type->setThirdPartySetting('node_type_class', 'classes', $form_state->getValue('node_type_class')); }