function ConfigEntityBase::disable
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::disable()
- 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::disable()
- 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::disable()
Overrides ConfigEntityInterface::disable
1 call to ConfigEntityBase::disable()
- View::onDependencyRemoval in core/
modules/ views/ src/ Entity/ View.php - Informs the entity that entities it depends on will be deleted.
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 187
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function disable() {
return $this->setStatus(FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.