Search for hash

  1. Search 7.x for hash
  2. Search 9.5.x for hash
  3. Search 8.9.x for hash
  4. Search 11.x for hash
  5. Other projects
Title Object type File name Summary
AccountPermissionsCacheContext::$permissionsHashGenerator property core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php The permissions hash generator.
AssetGroupSetHashTrait trait core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php Provides a method to generate a normalized hash of a given asset group set.
AssetGroupSetHashTrait.php file core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php
AssetGroupSetHashTrait::generateHash function core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php Generates a hash for an array of asset groups.
AssetOptimizationTest::replaceGroupHash function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the group hash in the given URL.
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::testComposerLockHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests composer.lock content-hash.
ContainerInterface::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Generate a unique hash for a service object.
Crypt::hashBase64 function core/lib/Drupal/Component/Utility/Crypt.php Calculates a base-64 encoded, URL-safe sha-256 hash.
CryptTest::providerTestHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHashBase64().
CryptTest::testHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests hash generation.
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
DiffEngine::_line_hash function core/lib/Drupal/Component/Diff/Engine/DiffEngine.php Returns the whole line if it's small enough, or a hash otherwise.
DrupalKernel::generateServiceIdHash function core/lib/Drupal/Core/DrupalKernel.php Generate a unique hash for a service object.
EntityType::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityType.php Determines if there is a handler for a given type.
EntityTypeInterface::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Determines if there is a handler for a given type.
EntityTypeManager::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManager.php Checks whether a certain entity type has a certain handler.
EntityTypeManagerInterface::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Checks whether a certain entity type has a certain handler.
EntityTypeManagerTest::providerTestHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testHasHandler().
EntityTypeManagerTest::testHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the hasHandler() method.
FieldTranslationSynchronizer::itemHash function core/modules/content_translation/src/FieldTranslationSynchronizer.php Computes a hash code for the specified item.
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
HelpPageTestController::hasHelp function core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php Provides a route with help.
ImageStyle::getHashSalt function core/modules/image/src/Entity/ImageStyle.php Gets a salt useful for hardening against SQL injection.
JsCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Generate a hash for a given group of JavaScript assets.
MockFormBase::hash_submit function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
PasswordInterface::hash function core/lib/Drupal/Core/Password/PasswordInterface.php Hash a password using a secure hash.
PasswordInterface::needsRehash function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a hashed password needs to be replaced with a new hash.
PasswordItemTest::testPreSavePreHashed function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordVerifyTest::testPasswordCheckUnknownHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() is forwarded to corePassword instance if hash settings are not recognized.
PasswordVerifyTest::testPasswordHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that hash() is forwarded to corePassword instance.
PasswordVerifyTest::testPasswordNeedsRehash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that needsRehash() is forwarded to corePassword instance.
PermissionsHashGenerator class core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGenerator.php file core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGenerator::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$processor property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The access policy processor.
PermissionsHashGenerator::$static property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the static cache.
PermissionsHashGenerator::doGenerate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies the user's permissions.
PermissionsHashGenerator::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Gets the cacheability metadata for the generated hash.
PermissionsHashGenerator::hash function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Hashes the given string.
PermissionsHashGenerator::__construct function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Constructs a PermissionsHashGenerator object.
PermissionsHashGeneratorInterface interface core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface.
PermissionsHashGeneratorInterface.php file core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php
PermissionsHashGeneratorInterface::generate function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator[[api-linebreak]]
@group Session
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 1 account.

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