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