Skip to content
Snippets Groups Projects
Commit 82318ffb authored by lugir's avatar lugir
Browse files

Issue #3345632 by drupal.cn: Missing "function" keyword in the template

parent 602bff58
No related branches found
Tags 1.2.3
No related merge requests found
......@@ -38,7 +38,7 @@ Copy/paste following template to [yourmodule].module file to alter this form (Re
/**
* Implements hook_form_FORM_ID_alter().
*/
hook_form_{{ form_id }}_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
function hook_form_{{ form_id }}_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
}
</textarea><br>
@see <a href="https://api.drupal.org/hook_form_FORM_ID_alter" target="_blank">hook_form_FORM_ID_alter()</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment