diff --git a/core/lib/Drupal/Core/Hook/Attribute/Hook.php b/core/lib/Drupal/Core/Hook/Attribute/Hook.php new file mode 100644 index 00000000000..822f7ba013e --- /dev/null +++ b/core/lib/Drupal/Core/Hook/Attribute/Hook.php @@ -0,0 +1,56 @@ +method = $method; + return $this; + } + +} diff --git a/core/lib/Drupal/Core/Hook/Attribute/LegacyHook.php b/core/lib/Drupal/Core/Hook/Attribute/LegacyHook.php new file mode 100644 index 00000000000..4e5864088b7 --- /dev/null +++ b/core/lib/Drupal/Core/Hook/Attribute/LegacyHook.php @@ -0,0 +1,17 @@ +