function ConfigEntityBase::status
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::status()
- 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::status()
- 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::status()
Overrides ConfigEntityInterface::status
3 calls to ConfigEntityBase::status()
- Block::preSave in core/
modules/ block/ src/ Entity/ Block.php - Acts on an entity before the presave hook is invoked.
- SearchPage::isIndexable in core/
modules/ search/ src/ Entity/ SearchPage.php - View::postSave in core/
modules/ views/ src/ Entity/ View.php
1 method overrides ConfigEntityBase::status()
- Workflow::status in core/
modules/ workflows/ src/ Entity/ Workflow.php - Returns whether the configuration entity is enabled.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 206
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function status() {
return !empty($this->status);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.