Unverified Commit efbcaa17 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3556289 by alexpott, nicxvan, berdir:...

Issue #3556289 by alexpott, nicxvan, berdir: \Drupal\Core\Hook\HookCollectorPass has stale documentation

(cherry picked from commit 312d4a52)
parent e7110263
Loading
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -28,8 +28,17 @@
 *
 * Services for procedural implementation of hooks are also registered.
 *
 * Finally, a hook_implementations_map container parameter is added. This
 * contains a mapping from [hook,class,method] to the module name.
 * Finally, a temporary .hook_data container parameter is added. This
 * contains:
 *  - hook_list a mapping from [hook,class,method] to the module name.
 *  - preprocess_for_suggestions preprocess hooks with double underscores.
 *  - includes files that contain hooks that are not defined by hook_hook_info
 *    or in .module files
 *  - group_includes files identified by hook_hook_info
 *  - packed_order_operations ordering rules for runtime evaluation
 *
 * The parameter hook_data is processed in HookCollectorKeyValueWritePass and
 * removed automatically.
 *
 * @internal
 */
+7 −2
Original line number Diff line number Diff line
@@ -23,8 +23,13 @@
 * where either the class itself or the methods have a #[Hook] attribute.
 * These classes are automatically registered as autowired services.
 *
 * Finally, a .theme_hook_data container parameter is added. This
 * contains a mapping from [hook,class,method] to the theme name.
 * Finally, a temporary .theme_hook_data container parameter is added. This
 * contains:
 *  - theme_hook_list a mapping from theme to [hook,class,method].
 *  - theme_preprocess_for_suggestions preprocess hooks with double underscores.
 *
 * The parameter theme_hook_data is processed in HookCollectorKeyValueWritePass
 * and removed automatically.
 *
 * @internal
 */