Commit 718d874e authored by mrweiner's avatar mrweiner

rearrange methods in DrawerInterface

parent 55a575e2
......@@ -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();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment