8.2.x ConfigEntityBase.php public ConfigEntityBase::disable()
8.0.x ConfigEntityBase.php public ConfigEntityBase::disable()
8.1.x ConfigEntityBase.php public ConfigEntityBase::disable()
8.3.x ConfigEntityBase.php public ConfigEntityBase::disable()

Disables the configuration entity.

Return value

$this

Overrides ConfigEntityInterface::disable

1 call to ConfigEntityBase::disable()
FilterFormat::disable in core/modules/filter/src/Entity/FilterFormat.php
Disables the configuration entity.
1 method overrides ConfigEntityBase::disable()
FilterFormat::disable in core/modules/filter/src/Entity/FilterFormat.php
Disables the configuration entity.

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);
}