HookCollectorPass::$priority

The priority of the eventual event listener.

This ensures the module order is kept.

Type: priority

File

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

Class

HookCollectorPass
Collects and registers hook implementations.

Namespace

Drupal\Core\Hook

Code

protected int $priority = 0;

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