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

1 method overrides ConfigEntityInterface::setStatus()
ConfigEntityBase::setStatus in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.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);