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 10.3.x for hash
  5. Other projects
Title Object type File name Summary
Schema::hashBase64 function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Calculates a base-64 encoded PostgreSQL-safe sha-256 hash.
Settings::getHashSalt function core/lib/Drupal/Core/Site/Settings.php Gets a salt useful for hardening against SQL injection.
SettingsTest::providerTestGetHashSaltEmpty function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Data provider for testGetHashSaltEmpty.
SettingsTest::testGetHashSalt function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Tests Settings::getHashSalt().
SettingsTest::testGetHashSaltEmpty function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Tests Settings::getHashSalt() with no hash salt value.
SimpleConfigValidationTest::testDefaultConfigHashValidation function core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php Tests the validation of the default configuration hash.
Sql::getSourceIdsHash function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Retrieves the hash of the source identifier values.
Sql::SOURCE_IDS_HASH constant core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Column name of hashed source id values.
ToolbarAdminMenuTest::$hash property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The current admin menu subtrees hash for adminUser.
ToolbarAdminMenuTest::assertDifferentHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Checks the subtree hash of the current page with that of the previous page.
ToolbarAdminMenuTest::getSubtreesHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Get the hash value from the admin menu subtrees route path.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.
ToolbarAdminMenuTest::testMenuLinkUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests toolbar cache tags implementation.
ToolbarAdminMenuTest::testModuleStatusChangeSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to installing and uninstalling modules.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to user data updates.
UserAuthTest::testAuthenticateWithCorrectPasswordAndNewPasswordHash function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password & new password hash.
UserLoginTest::testPasswordRehashOnLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Tests user password is re-hashed upon login after changing $count_log2.
UserPassRehashTest class core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests user_pass_rehash().
UserPassRehashTest.php file core/modules/user/tests/src/Kernel/UserPassRehashTest.php
UserPassRehashTest::$modules property core/modules/user/tests/src/Kernel/UserPassRehashTest.php Modules to install.
UserPassRehashTest::testUniqueHashNoPasswordValue function core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests uniqueness of hashes when no password is set.
user_custom_pass_hash_params_test.info.yml file core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.info.yml core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.info.yml
user_custom_pass_hash_params_test.services.yml file core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.services.yml core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.services.yml
user_pass_rehash function core/modules/user/user.module Creates a unique hash value for use in time-dependent per-user URLs.
user_permissions_hash_generator service core/core.services.yml Drupal\Core\Session\PermissionsHashGenerator
_toolbar_get_subtrees_hash function core/modules/toolbar/toolbar.module Returns the hash of the user-rendered toolbar subtrees and cacheability.

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