thunder_article.module in Thunder 6.2.x
Same filename and directory in other branches
- 8.5 modules/thunder_article/thunder_article.module
- 8.2 modules/thunder_article/thunder_article.module
- 8.3 modules/thunder_article/thunder_article.module
- 8.4 modules/thunder_article/thunder_article.module
- 6.0.x modules/thunder_article/thunder_article.module
- 6.1.x modules/thunder_article/thunder_article.module
Thunder Article module hooks.
File
modules/thunder_article/thunder_article.moduleView source
<?php
/**
* @file
* Thunder Article module hooks.
*/
use Drupal\Core\Form\FormStateInterface;
use Drupal\thunder_article\Form\ThunderNodeForm;
/**
* Implements hook_form_FORM_ID_alter().
*/
function thunder_article_form_node_form_alter(&$form, FormStateInterface $form_state) {
\Drupal::service('class_resolver')
->getInstanceFromDefinition(ThunderNodeForm::class)
->formAlter($form, $form_state);
}
Functions
Name | Description |
---|---|
thunder_article_form_node_form_alter | Implements hook_form_FORM_ID_alter(). |