You are here

public function Sweaver::is_plugin_activated in Sweaver 7

is_plugin_activated Check if a plugin is activated

Return value

true if activated

File

./sweaver.inc, line 111
Class Sweaver.

Class

Sweaver
@file Class Sweaver.

Code

public function is_plugin_activated($name) {
  if ($this->plugins[$name]) {
    return isset($this->plugins_registry_enabled[$name]);
  }
  return FALSE;
}