Hook::PREFIX

The hook prefix such as `form`.

File

core/lib/Drupal/Core/Hook/Attribute/Hook.php, line 104

Class

Hook
Attribute for defining a class method as a hook implementation.

Namespace

Drupal\Core\Hook\Attribute

Code

public const PREFIX = '';

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