mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/12847] Allow the extensions to say if they can be enabled
PHPBB3-12847
This commit is contained in:
@@ -19,6 +19,13 @@ namespace phpbb\extension;
|
||||
*/
|
||||
interface extension_interface
|
||||
{
|
||||
/**
|
||||
* Indicate whether or not the extension can be enabled.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_enableable();
|
||||
|
||||
/**
|
||||
* enable_step is executed on enabling an extension until it returns false.
|
||||
*
|
||||
|
Reference in New Issue
Block a user