function ConfigEntityBase::setStatus
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setStatus()
- 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setStatus()
- 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setStatus()
Overrides ConfigEntityInterface::setStatus
2 calls to ConfigEntityBase::setStatus()
- ConfigEntityBase::disable in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - ConfigEntityBase::enable in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 194
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function setStatus($status) {
$this->status = (bool) $status;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.