From 7532347fae9b64f46f170ee77c11b22547b4c919 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Thu, 20 Mar 2014 07:22:13 -0700 Subject: [PATCH] Issue #2218319 by hellboy2k8, longwave: Clarify parameter in DefaultPluginManager::alterInfo() docs --- core/lib/Drupal/Core/Plugin/DefaultPluginManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php index 99abd8944db..c9cd2e3870b 100644 --- a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php +++ b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php @@ -154,7 +154,8 @@ class DefaultPluginManager extends PluginManagerBase implements PluginManagerInt * Initializes the alter hook. * * @param string $alter_hook - * Name of the alter hook. + * Name of the alter hook; for example, to invoke + * hook_mymodule_data_alter() pass in "mymodule_data". */ protected function alterInfo($alter_hook) { $this->alterHook = $alter_hook;