You are here

ViewStorageInterface.php in Views (for Drupal 7) 8.3

Namespace

Drupal\views

File

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 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.