public function View::enable

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

Overrides ViewStorageInterface::enable

File

drupal/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php, line 174
Definition of Drupal\views\Plugin\Core\Entity\View.

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Plugin\Core\Entity

Code

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