ViewStorageInterface.php

Definition of Drupal\views\ViewStorageInterface.

Namespace

Drupal\views

File

drupal/core/modules/views/lib/Drupal/views/ViewStorageInterface.php
View source
<?php

/**
 * @file
 * Definition of Drupal\views\ViewStorageInterface.
 */
namespace Drupal\views;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Defines an interface for View storage classes.
 */
interface ViewStorageInterface extends \IteratorAggregate, ConfigEntityInterface {

  /**
   * Sets the configuration entity status to enabled.
   */
  public function enable();

  /**
   * Sets the configuration entity status to disabled.
   */
  public function disable();

  /**
   * Returns whether the configuration entity is enabled.
   *
   * @return bool
   */
  public function isEnabled();

}

Interfaces

Namesort descending Description
ViewStorageInterface Defines an interface for View storage classes.