You are here

public function ViewUI::setStatus in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::setStatus()
  2. 10 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 166

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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