annotate core/modules/layout_builder/src/TempStoreIdentifierInterface.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
rev   line source
Chris@18 1 <?php
Chris@18 2
Chris@18 3 namespace Drupal\layout_builder;
Chris@18 4
Chris@18 5 /**
Chris@18 6 * Provides an interface that allows an object to provide its own tempstore key.
Chris@18 7 *
Chris@18 8 * @todo Move to \Drupal\Core\TempStore in https://www.drupal.org/node/3026957.
Chris@18 9 */
Chris@18 10 interface TempStoreIdentifierInterface {
Chris@18 11
Chris@18 12 /**
Chris@18 13 * Gets a string suitable for use as a tempstore key.
Chris@18 14 *
Chris@18 15 * @return string
Chris@18 16 * A string to be used as the key for a tempstore item.
Chris@18 17 */
Chris@18 18 public function getTempstoreKey();
Chris@18 19
Chris@18 20 }