legacy_hook_test.module
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 | ||
legacy_hook_test_test2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.