Loading core/lib/Drupal/Core/Hook/HookCollectorPass.php +11 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php +7 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading
core/lib/Drupal/Core/Hook/HookCollectorPass.php +11 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading
core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php +7 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading