You are here

function simplifying_form_taxonomy_term_form_alter in Simplifying 8

Implements hook_form_taxonomy_form_alter().

File

./simplifying.module, line 79
Simplifying module.

Code

function simplifying_form_taxonomy_term_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  \Drupal::service('simplifying.entity')
    ->hideFields($form, 'taxonomy');
}