comparison core/modules/layout_builder/src/TempStoreIdentifierInterface.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
1 <?php
2
3 namespace Drupal\layout_builder;
4
5 /**
6 * Provides an interface that allows an object to provide its own tempstore key.
7 *
8 * @todo Move to \Drupal\Core\TempStore in https://www.drupal.org/node/3026957.
9 */
10 interface TempStoreIdentifierInterface {
11
12 /**
13 * Gets a string suitable for use as a tempstore key.
14 *
15 * @return string
16 * A string to be used as the key for a tempstore item.
17 */
18 public function getTempstoreKey();
19
20 }