You are here

public function ConfigEntityInterface::setStatus in Drupal 8

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

Code

public function setStatus($status);