function thunder_article_form_node_form_alter in Thunder 6.1.x
Same name and namespace in other branches
- 8.5 modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
- 8.2 modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
- 8.3 modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
- 8.4 modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
- 6.2.x modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
- 6.0.x modules/thunder_article/thunder_article.module \thunder_article_form_node_form_alter()
Implements hook_form_FORM_ID_alter().
File
- modules/
thunder_article/ thunder_article.module, line 36 - Thunder Article module hooks.
Code
function thunder_article_form_node_form_alter(&$form, FormStateInterface $form_state) {
\Drupal::service('class_resolver')
->getInstanceFromDefinition(ThunderNodeForm::class)
->formAlter($form, $form_state);
}