Added a ViewStorageInterface
parent
cc9d0ca5c1
commit
151d7b25fb
|
@ -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();
|
||||
|
||||
}
|
Loading…
Reference in New Issue