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 63

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.