Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::disable().
Overrides ConfigEntityInterface::disable
File
- drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 106
- Definition of 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);
}