isEnabled() public method

Determines if the specified module is enabled.
public isEnabled ( string $slug ) : boolean
$slug string
return boolean
Beispiel #1
0
 /**
  * Check if specified module is enabled.
  *
  * @param string $slug
  *
  * @return bool
  */
 public function isEnabled($slug)
 {
     return $this->repository->isEnabled($slug);
 }