Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
PrivateKey class core/lib/Drupal/Core/PrivateKey.php Manages the Drupal private key.
PrivateKey.php file core/lib/Drupal/Core/PrivateKey.php
PrivateKey::$state property core/lib/Drupal/Core/PrivateKey.php The state service.
PrivateKey::create function core/lib/Drupal/Core/PrivateKey.php Creates a new private key.
PrivateKey::get function core/lib/Drupal/Core/PrivateKey.php Gets the private key.
PrivateKey::set function core/lib/Drupal/Core/PrivateKey.php Sets the private key.
PrivateKey::__construct function core/lib/Drupal/Core/PrivateKey.php Constructs the private key object.
PrivateKeyTest class core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests the PrivateKey class.
PrivateKeyTest.php file core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::$key property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The random key to use in tests.
PrivateKeyTest::$privateKey property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The private key service mock.
PrivateKeyTest::$state property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The state mock class.
PrivateKeyTest::setUp function core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::testGet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get().
PrivateKeyTest::testGetNoState function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get() with no private key from state.
PrivateKeyTest::testSet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::setPrivateKey().
PrivateMethodUnitTestTrait trait core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Provides methods to test protected/private methods in unit tests.
PrivateMethodUnitTestTrait.php file core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php
PrivateMethodUnitTestTrait::getMethod function core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Gets a protected/private method to test.
PrivateStream class core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Drupal private (private://) stream wrapper class.
PrivateStream.php file core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::basePath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the base path for private://.
PrivateStream::getDescription function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the description of the stream wrapper for use in the UI.
PrivateStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Gets the path that the wrapper is responsible for.
PrivateStream::getExternalUrl function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns a web accessible URL for the resource.
PrivateStream::getName function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the name of the stream wrapper for use in the UI.
PrivateStream::getType function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the type of stream wrapper.
PrivateTempStore class core/lib/Drupal/Core/TempStore/PrivateTempStore.php Stores and retrieves temporary data for a given owner.
PrivateTempStore.php file core/lib/Drupal/Core/TempStore/PrivateTempStore.php
PrivateTempStore::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The current user.
PrivateTempStore::$expire property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The time to live for items in seconds.
PrivateTempStore::$lockBackend property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The lock object used for this data.
PrivateTempStore::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The request stack.
PrivateTempStore::$storage property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The key/value storage object used for this data.
PrivateTempStore::createkey function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Ensures that the key is unique for a user.
PrivateTempStore::delete function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Deletes data from the store for a given key and releases the lock on it.
PrivateTempStore::get function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Retrieves a value from this PrivateTempStore for a given key.
PrivateTempStore::getMetadata function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Returns the metadata associated with a particular key/value pair.
PrivateTempStore::getOwner function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Gets the current owner based on the current user or the session ID.
PrivateTempStore::set function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Stores a particular key/value pair in this PrivateTempStore.
PrivateTempStore::startSession function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Start session because it is required for a private temp store.
PrivateTempStore::__construct function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Constructs a new object for accessing data from a key/value store.
PrivateTempStoreFactory class core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore object for a given collection.
PrivateTempStoreFactory.php file core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php
PrivateTempStoreFactory::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The current user.
PrivateTempStoreFactory::$expire property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The time to live for items in seconds.
PrivateTempStoreFactory::$lockBackend property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The lock object used for this data.
PrivateTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The request stack.
PrivateTempStoreFactory::$storageFactory property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The storage factory creating the backend to store the data.
PrivateTempStoreFactory::get function core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.