diff --git a/lib/Drupal/views/ViewStorageInterface.php b/lib/Drupal/views/ViewStorageInterface.php new file mode 100644 index 0000000000000000000000000000000000000000..1eef09967283d72639439af92ab942bd8c764c72 --- /dev/null +++ b/lib/Drupal/views/ViewStorageInterface.php @@ -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(); + +}