public function ConfigEntityInterface::setStatus in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus()
- 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus()
Sets the status of the configuration entity.
Parameters
bool $status: The status of the configuration entity.
Return value
$this
2 methods override ConfigEntityInterface::setStatus()
- ConfigEntityBase::setStatus in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Sets the status of the configuration entity.
- ViewUI::setStatus in core/
modules/ views_ui/ src/ ViewUI.php - Sets the status of the configuration entity.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityInterface.php, line 38
Class
- ConfigEntityInterface
- Defines a common interface for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
public function setStatus($status);