You are here

public function Configuration::removeModule in Configuration Management 7.3

File

src/Configuration.php, line 154

Class

Configuration
A generic configuration of the site.

Namespace

Configuration

Code

public function removeModule($identifier) {
  if ($this->modules
    ->contains($identifier)) {
    $this->modules
      ->remove($identifier, 0);
  }
  return $this;
}