first commit
This commit is contained in:
commit
1218dd1517
12716 files changed
+989233
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace TYPO3\CMS\Adminpanel\ModuleApi;
|
||||
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
|
||||
/**
|
||||
* AdminPanel ConfigurableInterface
|
||||
*
|
||||
* Used to indicate that an adminpanel module can be enabled or disabled via configuration
|
||||
*
|
||||
* Usual implementation is done via user tsconfig
|
||||
* @see \TYPO3\CMS\Adminpanel\ModuleApi\AbstractModule::isEnabled()
|
||||
*/
|
||||
interface ConfigurableInterface
|
||||
{
|
||||
/**
|
||||
* Module is enabled
|
||||
* -> should be initialized
|
||||
* A module may be enabled but not shown
|
||||
* -> only the initializeModule() method
|
||||
* will be called
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isEnabled(): bool;
|
||||
}
|
||||
Reference in new issue
Block a user