You are here

public function ConfigEntityBase::disable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\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 192
Contains \Drupal\Core\Config\Entity\ConfigEntityBase.

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function disable() {
  return $this
    ->setStatus(FALSE);
}