Skip to content
Snippets Groups Projects
Commit 151d7b25 authored by Damian Lee's avatar Damian Lee Committed by Tim Plunkett
Browse files

Added a ViewStorageInterface

parent cc9d0ca5
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
<?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();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment