public function ConfigEntityInterface::setStatus

Sets the status of the configuration entity.

Parameters

bool $status: The status of the configuration entity.

Return value

\Drupal\Core\Config\Entity\ConfigEntityInterface The class instance that this method is called on.

2 methods override ConfigEntityInterface::setStatus()
ConfigEntityBase::setStatus in drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus().
ViewUI::setStatus in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus().

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 60
Definition of Drupal\Core\Config\Entity\ConfigEntityInterface.

Class

ConfigEntityInterface
Defines the interface common for all configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

public function setStatus($status);