You are here

public function ViewStorage::enable in Views (for Drupal 7) 8.3

Implements Drupal\views\ViewStorageInterface::enable().

Overrides ConfigEntityBase::enable

File

lib/Drupal/views/ViewStorage.php, line 190
Definition of Drupal\views\ViewStorage.

Class

ViewStorage
Defines a ViewStorage configuration entity class.

Namespace

Drupal\views

Code

public function enable() {
  $this->disabled = FALSE;
  $this
    ->save();
}