function simplifying_form_node_form_alter in Simplifying 8
Implements hook_form_node_form_alter().
File
- ./
simplifying.module, line 58 - Simplifying module.
Code
function simplifying_form_node_form_alter(&$form, FormStateInterface $form_state, $form_id) {
\Drupal::service('simplifying.entity')
->hideFields($form, 'nodes');
}