You are here

public function ViewUI::setStatus in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::setStatus()
  2. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::setStatus()

Sets the status of the configuration entity.

Parameters

bool $status: The status of the configuration entity.

Return value

$this

Overrides ConfigEntityInterface::setStatus

File

core/modules/views_ui/src/ViewUI.php, line 163

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function setStatus($status) {
  return $this->storage
    ->setStatus($status);
}