interface HookAttributeInterface

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Hook/Attribute/HookAttributeInterface.php \Drupal\Core\Hook\Attribute\HookAttributeInterface

Common interface for attributes used for hook discovery.

This does not imply any shared behavior, it is only used to collect all hook-related attributes in the same call.

@internal

Hierarchy

Expanded class hierarchy of HookAttributeInterface

All classes that implement HookAttributeInterface

2 files declare their use of HookAttributeInterface
HookCollectorPass.php in core/lib/Drupal/Core/Hook/HookCollectorPass.php
ThemeHookCollectorPass.php in core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php

File

core/lib/Drupal/Core/Hook/Attribute/HookAttributeInterface.php, line 15

Namespace

Drupal\Core\Hook\Attribute
View source
interface HookAttributeInterface {

}

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