41 $previous =
$options[
'previous'] ?? null;
45 $plugin =
$options[
'plugin'] ?? null;
Plugin class containing helper functions for plugin activation/deactivation, dependency checking capa...
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options
Base exception of exceptions in the Elgg system.
static factory(array $options=[])
Create a new instance of a PluginException.
__construct(string $message= '', int $code=0,\Throwable $previous=null)
{}