28 calls to Crypt::hmacBase64()
- AssetGroupSetHashTrait::generateHash in core/
lib/ Drupal/ Core/ Asset/ AssetGroupSetHashTrait.php - Generates a hash for an array of asset groups.
- ContextualController::render in core/
modules/ contextual/ src/ ContextualController.php - Returns the requested rendered contextual links.
- ContextualDynamicContextTest::createContextualIdToken in core/
modules/ contextual/ tests/ src/ Functional/ ContextualDynamicContextTest.php - Creates a contextual ID token.
- ContextualLinksPlaceholder::preRenderPlaceholder in core/
modules/ contextual/ src/ Element/ ContextualLinksPlaceholder.php - Pre-render callback: Renders a contextual links placeholder into #markup.
- CryptTest::testHmacBase64 in core/
tests/ Drupal/ Tests/ Component/ Utility/ CryptTest.php - Tests HMAC generation.
- CryptTest::testHmacBase64Invalid in core/
tests/ Drupal/ Tests/ Component/ Utility/ CryptTest.php - Tests the hmacBase64 method with invalid parameters.
- CsrfTokenGenerator::computeToken in core/
lib/ Drupal/ Core/ Access/ CsrfTokenGenerator.php - Generates a token based on $value, the token seed, and the private key.
- DisplayBlockTest::testBlockContextualLinks in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the contextual links on a Views block.
- drupal_generate_test_ua in core/
includes/ bootstrap.inc - Generates a user agent string with a HMAC and timestamp for tests.
- drupal_valid_test_ua in core/
includes/ bootstrap.inc - Returns the test prefix if this is an internal request from a test.
- EntityAutocomplete::processEntityAutocomplete in core/
lib/ Drupal/ Core/ Entity/ Element/ EntityAutocomplete.php - Adds entity autocomplete functionality to a form element.
- EntityAutocompleteController::handleAutocomplete in core/
modules/ system/ src/ Controller/ EntityAutocompleteController.php - Autocomplete the label of an entity.
- EntityAutocompleteTest::getAutocompleteResult in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAutocompleteTest.php - Returns the result of an Entity reference autocomplete request.
- EntityAutocompleteTest::testSelectionSettingsHandling in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAutocompleteTest.php - Tests that missing or invalid selection setting key are handled correctly.
- IFrameUrlHelper::getHash in core/
modules/ media/ src/ IFrameUrlHelper.php - Hashes an oEmbed resource URL.
- ImageStyle::getPathToken in core/
modules/ image/ src/ Entity/ ImageStyle.php - ImageStyleTest::testGetPathToken in core/
modules/ image/ tests/ src/ Unit/ ImageStyleTest.php - @covers ::getPathToken
- ManagedFile::processManagedFile in core/
modules/ file/ src/ Element/ ManagedFile.php - Render API callback: Expands the managed_file element type.
- ManagedFile::valueCallback in core/
modules/ file/ src/ Element/ ManagedFile.php - Determines how user input is mapped to an element's #value property.
- MediaLibraryState::getHash in core/
modules/ media_library/ src/ MediaLibraryState.php - Get the hash for the state object.
- MTimeProtectedFastFileStorage::getFullPath in core/
lib/ Drupal/ Component/ PhpStorage/ MTimeProtectedFastFileStorage.php - Gets the full path where the file is or should be stored.
- MTimeProtectedFileStorageBase::testSecurity in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ MTimeProtectedFileStorageBase.php - Tests the security of the MTimeProtectedFileStorage implementation.
- QueryParameterWorkspaceNegotiator::getQueryToken in core/
modules/ workspaces/ src/ Negotiator/ QueryParameterWorkspaceNegotiator.php - Calculates a token based on a workspace ID.
- rebuild.php in core/
rebuild.php - Rebuilds all Drupal caches even when Drupal itself does not work.
- SelectionTest::testAutocompleteOutput in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ Views/ SelectionTest.php - Tests that the Views selection handles the views output properly.
- UpdateProcessor::processFetchTask in core/
modules/ update/ src/ UpdateProcessor.php - user_pass_rehash in core/
modules/ user/ user.module - Creates a unique hash value for use in time-dependent per-user URLs.
- WorkspaceQueryParameterNegotiatorTest::testWorkspaceQueryParameter in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceQueryParameterNegotiatorTest.php - @covers ::getActiveWorkspaceId @dataProvider providerTestWorkspaceQueryParameter
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.