Issue #2714375 by kiamlaluno, malavya: hook_form_alter() implementations are still commented with a reference to a form builder that doesn't exist anymore

8.2.x
Nathaniel Catchpole 2016-05-06 13:54:45 +01:00
parent c36ddb4ff5
commit 0b1a646ff7
7 changed files with 13 additions and 13 deletions

View File

@ -127,7 +127,7 @@ function book_node_links_alter(array &$links, NodeInterface $node, array &$conte
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for node_form().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*
* Adds the book form element to the node form.
*
@ -323,7 +323,7 @@ function book_node_prepare_form(NodeInterface $node, $operation, FormStateInterf
}
/**
* Implements hook_form_BASE_FORM_ID_alter().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm.
*
* Alters the confirm form for a single node deletion.
*/

View File

@ -66,7 +66,7 @@ function editor_element_info_alter(&$types) {
}
/**
* Implements hook_form_FORM_ID_alter().
* Implements hook_form_FORM_ID_alter() for \Drupal\filter\FilterFormatListBuilder.
*/
function editor_form_filter_admin_overview_alter(&$form, FormStateInterface $form_state) {
// @todo Cleanup column injection: https://www.drupal.org/node/1876718.
@ -88,7 +88,7 @@ function editor_form_filter_admin_overview_alter(&$form, FormStateInterface $for
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for 'filter_format_form'.
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
*/
function editor_form_filter_format_form_alter(&$form, FormStateInterface $form_state) {
$editor = $form_state->get('editor');

View File

@ -282,7 +282,7 @@ function forum_comment_delete(CommentInterface $comment) {
}
/**
* Implements hook_form_BASE_FORM_ID_alter().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\taxonomy\VocabularyForm.
*/
function forum_form_taxonomy_vocabulary_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$vid = \Drupal::config('forum.settings')->get('vocabulary');
@ -304,7 +304,7 @@ function forum_form_taxonomy_vocabulary_form_alter(&$form, FormStateInterface $f
}
/**
* Implements hook_form_FORM_ID_alter() for taxonomy_term_form().
* Implements hook_form_FORM_ID_alter() for \Drupal\taxonomy\TermForm.
*/
function forum_form_taxonomy_term_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$vid = \Drupal::config('forum.settings')->get('vocabulary');
@ -315,7 +315,7 @@ function forum_form_taxonomy_term_form_alter(&$form, FormStateInterface $form_st
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for node_form().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*/
function forum_form_node_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$node = $form_state->getFormObject()->getEntity();

View File

@ -257,7 +257,7 @@ function menu_ui_get_menu_link_defaults(NodeInterface $node) {
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for node_form.
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*
* Adds menu item fields to the node form.
*
@ -385,7 +385,7 @@ function menu_ui_form_node_form_submit($form, FormStateInterface $form_state) {
}
/**
* Implements hook_form_FORM_ID_alter().
* Implements hook_form_FORM_ID_alter() for \Drupal\node\NodeTypeForm.
*
* Adds menu options to the node type form.
*

View File

@ -38,7 +38,7 @@ function path_help($route_name, RouteMatchInterface $route_match) {
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for node_form().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*/
function path_form_node_form_alter(&$form, FormStateInterface $form_state) {
$node = $form_state->getFormObject()->getEntity();

View File

@ -756,7 +756,7 @@ function system_form_alter(&$form, FormStateInterface $form_state) {
}
/**
* Implements hook_form_FORM_ID_alter().
* Implements hook_form_FORM_ID_alter() for \Drupal\user\AccountForm.
*/
function system_form_user_form_alter(&$form, FormStateInterface $form_state) {
if (\Drupal::config('system.date')->get('timezone.user.configurable')) {
@ -765,7 +765,7 @@ function system_form_user_form_alter(&$form, FormStateInterface $form_state) {
}
/**
* Implements hook_form_FORM_ID_alter().
* Implements hook_form_FORM_ID_alter() for \Drupal\user\RegisterForm.
*/
function system_form_user_register_form_alter(&$form, FormStateInterface $form_state) {
$config = \Drupal::config('system.date');

View File

@ -145,7 +145,7 @@ function seven_preprocess_maintenance_page(&$variables) {
}
/**
* Implements hook_form_BASE_FORM_ID_alter().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*
* Changes vertical tabs to container and adds meta information.
*/