Loading core/lib/Drupal/Core/Hook/Attribute/Hook.php +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public function __construct( public string $hook = '', public string $method = '', public ?string $module = NULL, public OrderInterface|null $order = NULL, public ?OrderInterface $order = NULL, ) { $this->hook = implode('_', array_filter([static::PREFIX, $hook, static::SUFFIX])); if ($this->hook === '') { Loading Loading
core/lib/Drupal/Core/Hook/Attribute/Hook.php +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public function __construct( public string $hook = '', public string $method = '', public ?string $module = NULL, public OrderInterface|null $order = NULL, public ?OrderInterface $order = NULL, ) { $this->hook = implode('_', array_filter([static::PREFIX, $hook, static::SUFFIX])); if ($this->hook === '') { Loading