aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension/extension_interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/extension/extension_interface.php')
-rw-r--r--phpBB/phpbb/extension/extension_interface.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/extension_interface.php b/phpBB/phpbb/extension/extension_interface.php
index cc8b8be980..6a6b6adb8f 100644
--- a/phpBB/phpbb/extension/extension_interface.php
+++ b/phpBB/phpbb/extension/extension_interface.php
@@ -20,6 +20,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.
*
* Calls to this function can be made in subsequent requests, when the