Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/layout_builder/src/TempStoreIdentifierInterface.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@5 | 1 <?php |
Chris@5 | 2 |
Chris@5 | 3 namespace Drupal\layout_builder; |
Chris@5 | 4 |
Chris@5 | 5 /** |
Chris@5 | 6 * Provides an interface that allows an object to provide its own tempstore key. |
Chris@5 | 7 * |
Chris@5 | 8 * @todo Move to \Drupal\Core\TempStore in https://www.drupal.org/node/3026957. |
Chris@5 | 9 */ |
Chris@5 | 10 interface TempStoreIdentifierInterface { |
Chris@5 | 11 |
Chris@5 | 12 /** |
Chris@5 | 13 * Gets a string suitable for use as a tempstore key. |
Chris@5 | 14 * |
Chris@5 | 15 * @return string |
Chris@5 | 16 * A string to be used as the key for a tempstore item. |
Chris@5 | 17 */ |
Chris@5 | 18 public function getTempstoreKey(); |
Chris@5 | 19 |
Chris@5 | 20 } |