You are here

function simplifying_form_block_content_form_alter in Simplifying 8

Implements hook_form_block_form_alter().

File

./simplifying.module, line 86
Simplifying module.

Code

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