Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

KeyValueExpirableFactoryInterface.php

Namespace

Drupal\Core\KeyValueStore

File

core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php

View source
<?php

namespace Drupal\Core\KeyValueStore;


/**
 * Defines the expirable key/value store factory interface.
 */
interface KeyValueExpirableFactoryInterface {
    
    /**
     * Constructs a new expirable key/value store for a given collection name.
     *
     * @param string $collection
     *   The name of the collection holding key and value pairs.
     *
     * @return \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
     *   An expirable key/value store implementation for the given $collection.
     */
    public function get($collection);

}

Interfaces

Title Deprecated Summary
KeyValueExpirableFactoryInterface Defines the expirable key/value store factory interface.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal