extension_interface
interface extension_interface
The interface extension meta classes have to implement to run custom code on enable/disable/purge.
Methods
Indicate whether or not the extension can be enabled.
enable_step is executed on enabling an extension until it returns false.
Disables the extension.
purge_step is executed on purging an extension until it returns false.
Details
at line 28
bool|array
is_enableable()
Indicate whether or not the extension can be enabled.
at line 42
mixed
enable_step(mixed $old_state)
enable_step is executed on enabling an extension until it returns false.
Calls to this function can be made in subsequent requests, when the function is invoked through a webserver with a too low max_execution_time.
at line 56
mixed
disable_step(mixed $old_state)
Disables the extension.
Calls to this function can be made in subsequent requests, when the function is invoked through a webserver with a too low max_execution_time.
at line 70
mixed
purge_step(mixed $old_state)
purge_step is executed on purging an extension until it returns false.
Calls to this function can be made in subsequent requests, when the function is invoked through a webserver with a too low max_execution_time.