function ConfigEntityInterface::setStatus

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus()
  3. 11.x 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\Entity

Code

public function setStatus($status);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.