ConfigEntityBase::disable

public ConfigEntityBase::disable()

Disables the configuration entity.

Return value

$this

Overrides ConfigEntityInterface::disable

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 188

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function disable() {
  return $this->setStatus(FALSE);
}
doc_Drupal
2016-10-29 08:52:26
Comments
Leave a Comment

Please login to continue.