legacy_hook_test.module
Same filename and directory in other branches
File
-
core/
modules/ system/ tests/ modules/ legacy_hook_test/ legacy_hook_test.module
View source
<?php
/**
* @file
*/
declare (strict_types=1);
use Drupal\Core\Hook\Attribute\LegacyHook;
function legacy_hook_test_test1() : void {
1 / 0;
}
function legacy_hook_test_test2() : string {
return 'ok';
}
Functions
| Title | Deprecated | Summary |
|---|---|---|
| legacy_hook_test_test1 | #[LegacyHook] | |
| legacy_hook_test_test2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.