HookCollectorPass::$orderOperations

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Hook/HookCollectorPass.php \Drupal\Core\Hook\HookCollectorPass::orderOperations

Order operations grouped by hook name and weight.

Operations with higher weight are applied last, which means they can override the changes from previous operations.

@todo Review how to combine operations from different hooks.

Type: array>>

File

core/lib/Drupal/Core/Hook/HookCollectorPass.php, line 69

Class

HookCollectorPass
Collects and registers hook implementations.

Namespace

Drupal\Core\Hook

Code

protected array $orderOperations = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.