. namespace core\hook; /** * Interface for a hook to provide a description of itself for administrator information. * * @package core * @author Petr Skoda * @copyright 2022 Open LMS * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ interface described_hook { /** * Hook purpose description in Markdown format * used on Hooks overview page. * * It should include description of callback priority setting * rules if applicable. * * @return string */ public static function get_hook_description(): string; /** * List of tags that describe this hook. * * @return string[] */ public static function get_hook_tags(): array; }