public is_module_active ( string $id ) : boolean | ||
$id | string | Module ID. |
return | boolean | Whether or not the module with the given ID is active. |
public function is_module_active($id)
{
return isset($this->states[$id]) && $this->states[$id];
}