Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Issue forks
cache_register-3183611
Commits
718d874e
Commit
718d874e
authored
Nov 22, 2020
by
mrweiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rearrange methods in DrawerInterface
parent
55a575e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
src/Object/DrawerInterface.php
src/Object/DrawerInterface.php
+14
-14
No files found.
src/Object/DrawerInterface.php
View file @
718d874e
...
...
@@ -4,6 +4,12 @@ namespace Drupal\cache_register\Object;
interface
DrawerInterface
{
/**
* @return string
* The drawer's name.
*/
public
function
id
();
/**
* Checks if a register exists for the drawer.
*
...
...
@@ -32,6 +38,14 @@ interface DrawerInterface {
*/
public
function
getRegister
();
/**
* Gets the cache tags associated with the drawer.
*
* @return array
* The cache tag array.
*/
public
function
getCacheTags
();
/**
* Creates a new Slot in the Drawer.
*
...
...
@@ -48,12 +62,6 @@ interface DrawerInterface {
*/
public
function
openSlot
(
$slot_ids
);
/**
* @return string
* The drawer's name.
*/
public
function
id
();
/**
* Invalidate all slots in the drawer.
*
...
...
@@ -64,12 +72,4 @@ interface DrawerInterface {
*/
public
function
invalidateSlots
(
$reopen_register
=
FALSE
);
/**
* Gets the cache tags associated with the drawer.
*
* @return array
* The cache tag array.
*/
public
function
getCacheTags
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment