46 calls to Crypt::hashBase64() in Drupal 9
- AggregatorTestRssController::testFeed in core/
modules/ aggregator/ tests/ modules/ aggregator_test/ src/ Controller/ AggregatorTestRssController.php - Generates a test feed and simulates last-modified and etags.
- AnnotatedClassDiscovery::__construct in core/
lib/ Drupal/ Component/ Annotation/ Plugin/ Discovery/ AnnotatedClassDiscovery.php - Constructs a new instance.
- AssetDumper::dump in core/
lib/ Drupal/ Core/ Asset/ AssetDumper.php - The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes.
- AssetResolver::getCssAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the CSS assets for the current response's libraries.
- AssetResolver::getJsAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the JavaScript assets for the current response's libraries.
- BigPipeStrategy::generateBigPipePlaceholderId in core/
modules/ big_pipe/ src/ Render/ Placeholder/ BigPipeStrategy.php - Generates a BigPipe placeholder ID.
- BlockFormInBlockTest::testPlaceholders in core/
modules/ block/ tests/ src/ Functional/ BlockFormInBlockTest.php - Tests the actual placeholders.
- BookAdminEditForm::bookAdminTable in core/
modules/ book/ src/ Form/ BookAdminEditForm.php - Builds the table portion of the form for the book administration page.
- CacheCollector::normalizeLockName in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Normalizes a cache ID in order to comply with database limitations.
- ConfigCRUDTest::testDataTypes in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigCRUDTest.php - Tests data type handling.
- ConfigInstaller::createConfiguration in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - Creates configuration in a collection based on the provided list.
- ConfigInstallProfileOverrideTest::testInstallProfileConfigOverwrite in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallProfileOverrideTest.php - Tests install profile config changes.
- ConfigSchemaChecker::onConfigSave in core/
lib/ Drupal/ Core/ Config/ Development/ ConfigSchemaChecker.php - Checks that configuration complies with its schema on config save.
- ContainerTest::getPrivateServiceCall in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php - Helper function to return a private service definition.
- CryptTest::testHashBase64 in core/
tests/ Drupal/ Tests/ Component/ Utility/ CryptTest.php - Tests hash generation.
- DatabaseBackend::normalizeCid in core/
lib/ Drupal/ Core/ Cache/ DatabaseBackend.php - Normalizes a cache ID in order to comply with database limitations.
- DatabaseLockBackend::normalizeName in core/
lib/ Drupal/ Core/ Lock/ DatabaseLockBackend.php - Normalizes a lock name in order to comply with database limitations.
- EntityViewBuilder::getSingleFieldDisplay in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Gets an EntityViewDisplay for rendering an individual field.
- FileUploadResource::generateLockIdFromFileUri in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - Generates a lock ID based on the file URI.
- FilterProcessResult::createPlaceholder in core/
modules/ filter/ src/ FilterProcessResult.php - Creates a placeholder.
- FormBuilder::prepareForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Prepares a structured form array.
- ImageStyleDownloadController::deliver in core/
modules/ image/ src/ Controller/ ImageStyleDownloadController.php - Generates a derivative, given a style and image path.
- JsonApiDocumentTopLevelNormalizer::getLinkHash in core/
modules/ jsonapi/ src/ Normalizer/ JsonApiDocumentTopLevelNormalizer.php - Hashes an omitted link.
- LinkCollectionNormalizer::hashByHref in core/
modules/ jsonapi/ src/ Normalizer/ LinkCollectionNormalizer.php - Hashes a link using its href and its target attributes, if any.
- OEmbed::getLocalThumbnailUri in core/
modules/ media/ src/ Plugin/ media/ Source/ OEmbed.php - Returns the local URI for a resource thumbnail.
- OEmbedSourceTest::testThumbnailUri in core/
modules/ media/ tests/ src/ Kernel/ OEmbedSourceTest.php - Tests that remote thumbnails are downloaded correctly.
- OptimizedPhpArrayDumper::getPrivateServiceCall in core/
lib/ Drupal/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumper.php - Gets a private service definition in a suitable format.
- OptimizedPhpArrayDumperTest::getPrivateServiceCall in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumperTest.php - Helper function to return a private service definition.
- PhpBackend::normalizeCid in core/
lib/ Drupal/ Core/ Cache/ PhpBackend.php - Ensures a normalized cache ID.
- PlaceholderGenerator::createPlaceholder in core/
lib/ Drupal/ Core/ Render/ PlaceholderGenerator.php - Turns the given element into a placeholder.
- RendererPlaceholdersTest::providerPlaceholders in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Provides the two classes of placeholders: cacheable and uncacheable.
- RendererPlaceholdersTest::testCacheableParent in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID
- RouteProcessorCsrf::processOutbound in core/
lib/ Drupal/ Core/ Access/ RouteProcessorCsrf.php - Processes the outbound route.
- RouteProcessorCsrfTest::testProcessOutbound in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with a _csrf_token route requirement.
- RouteProcessorCsrfTest::testProcessOutboundDynamicOne in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with a dynamic path and one replacement.
- RouteProcessorCsrfTest::testProcessOutboundDynamicTwo in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with two parameter replacements.
- SessionCacheContext::getContext in core/
lib/ Drupal/ Core/ Cache/ Context/ SessionCacheContext.php - SessionHandler::read in core/
lib/ Drupal/ Core/ Session/ SessionHandler.php - Settings::getApcuPrefix in core/
lib/ Drupal/ Core/ Site/ Settings.php - Generates a prefix for APCu user cache keys.
- TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - Generates a lock ID based on the file URI.
- toolbar_menu_navigation_links in core/
modules/ toolbar/ toolbar.module - Adds toolbar-specific attributes to the menu link tree.
- TwigEnvironmentTest::testInlineTemplate in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Tests inline templates.
- TwigExtensionPass::process in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ TwigExtensionPass.php - TwigPhpStorageCache::generateKey in core/
lib/ Drupal/ Core/ Template/ TwigPhpStorageCache.php - _locale_rebuild_js in core/
modules/ locale/ locale.module - (Re-)Creates the JavaScript translation file for a language.
- _toolbar_get_subtrees_hash in core/
modules/ toolbar/ toolbar.module - Returns the hash of the per-user rendered toolbar subtrees.