1<?php
2declare(strict_types = 1);
3
4namespace TYPO3\CMS\Adminpanel\ModuleApi;
5
6/*
7 * This file is part of the TYPO3 CMS project.
8 *
9 * It is free software; you can redistribute it and/or modify it under
10 * the terms of the GNU General Public License, either version 2
11 * of the License, or any later version.
12 *
13 * For the full copyright and license information, please read the
14 * LICENSE.txt file that was distributed with this source code.
15 *
16 * The TYPO3 project - inspiring people to share!
17 */
18
19/**
20 * Adminpanel interface for all modules
21 *
22 * Every adminpanel module needs to implement this interface as a bare minimum.
23 */
24interface ModuleInterface
25{
26    /**
27     * Identifier for this module,
28     * for example "preview" or "cache"
29     *
30     * @return string
31     */
32    public function getIdentifier(): string;
33
34    /**
35     * Module label
36     *
37     * @return string
38     */
39    public function getLabel(): string;
40}
41