You are here

public function Configuration::removePart in Configuration Management 7.3

File

src/Configuration.php, line 138

Class

Configuration
A generic configuration of the site.

Namespace

Configuration

Code

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