Added a ViewStorageInterface

8.0.x
damiankloip 2012-08-27 14:59:53 +02:00 committed by Tim Plunkett
parent cc9d0ca5c1
commit 151d7b25fb
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
<?php
/**
* Definition of Drupal\views\ViewStorageInterface.
*/
namespace Drupal\views;
use Drupal\config\ConfigurableInterface;
/**
* Defines an interface for View storage classes.
*/
interface ViewStorageInterface extends ConfigurableInterface {
/**
* Sets the configurable entity status to enabled.
*/
public function enable();
/**
* Sets the configurable entity status to disabled.
*/
public function disable();
/**
* Returns whether the configurable entity is enabled.
*
* @return bool
*/
public function isEnabled();
}