isDisabled() public method

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