Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Crypt.php

21 calls to Crypt::randomBytesBase64()

BigPipe::sendNoJsPlaceholders in core/modules/big_pipe/src/Render/BigPipe.php
Sends no-JS BigPipe placeholders' replacements as embedded HTML responses.
BigPipe::sendPreBody in core/modules/big_pipe/src/Render/BigPipe.php
Sends everything until just before </body>.
CsrfTokenGenerator::get in core/lib/Drupal/Core/Access/CsrfTokenGenerator.php
Generates a token based on $value, the user session, and the private key.
drupal_generate_test_ua in core/includes/bootstrap.inc
Generates a user agent string with a HMAC and timestamp for tests.
FormBuilder::prepareForm in core/lib/Drupal/Core/Form/FormBuilder.php
Prepares a structured form array.
FormBuilder::rebuildForm in core/lib/Drupal/Core/Form/FormBuilder.php
Constructs a new $form from the information in $form_state.
Html::getUniqueId in core/lib/Drupal/Component/Utility/Html.php
Prepares a string for use as a valid HTML ID and guarantees uniqueness.
InstallCommand::install in core/lib/Drupal/Core/Command/InstallCommand.php
Installs Drupal with specified installation profile.
JsonApiDocumentTopLevelNormalizer::normalizeOmissionsLinks in core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
Normalizes omitted data into a set of omission links.
LinkCollectionNormalizer::hashByHref in core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
Hashes a link using its href and its target attributes, if any.
MetadataBag::stampNew in core/lib/Drupal/Core/Session/MetadataBag.php
Stamps a new session's metadata.
MTimeProtectedFastFileStorage::tempnam in core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php
A brute force tempnam implementation supporting streams.
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.
PrivateKey::create in core/lib/Drupal/Core/PrivateKey.php
Creates a new private key.
PrivateTempStore::set in core/lib/Drupal/Core/TempStore/PrivateTempStore.php
Stores a particular key/value pair in this PrivateTempStore.
SharedTempStoreFactory::get in core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php
Creates a SharedTempStore for the current user or anonymous session.
SiteSettingsForm::createRandomConfigDirectory in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Create a random config sync directory.
SiteSettingsForm::submitForm in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Form submission handler.
system_install in core/modules/system/system.install
Implements hook_install().
template_preprocess_html in core/includes/theme.inc
Prepares variables for HTML document templates.
UserController::resetPassLogin in core/modules/user/src/Controller/UserController.php
Validates user, hash, and timestamp; logs the user in if correct.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal