function 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 175

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.