32 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.
- CsrfTokenGeneratorTest::setupDefaultExpectations in core/
tests/ Drupal/ Tests/ Core/ Access/ CsrfTokenGeneratorTest.php - Set up default expectations on the mocks.
- CsrfTokenGeneratorTest::testGenerateSeedOnGet in core/
tests/ Drupal/ Tests/ Core/ Access/ CsrfTokenGeneratorTest.php - Tests that a new token seed is generated upon first use.
- drupal_generate_test_ua in core/
includes/ bootstrap.inc - Generates a user agent string with a HMAC and timestamp for simpletest.
- drupal_install_config_directories in core/
includes/ install.inc - Creates the config directory and ensures it is operational.
- 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.
- FormCache::getCache in core/
lib/ Drupal/ Core/ Form/ FormCache.php - Fetches a form from the cache.
- 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.
- InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryErrorTest.php - Prepares the current environment for running the test.
- InstallerConfigDirectorySetNoDirectoryTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryTest.php - Prepares the current environment for running the test.
- 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 by its href.
- 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.
- PermissionsHashGeneratorTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionsHashGeneratorTest.php - PrivateKey::create in core/
lib/ Drupal/ Core/ PrivateKey.php - Creates a new private key.
- PrivateKeyTest::setUp in core/
tests/ Drupal/ Tests/ Core/ PrivateKeyTest.php - SessionManager::regenerate in core/
lib/ Drupal/ Core/ Session/ SessionManager.php - SessionManager::start in core/
lib/ Drupal/ Core/ Session/ SessionManager.php - SimpleTestTest::stubTest in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Test to be run and the results confirmed.
- 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.
- TestBase::prepareEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Prepares the current environment for running the test.
- UpdatePathTestBase::prepareSettings in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Add settings that are missed since the installer isn't run.
- UpdatePathTestBase::prepareSettings in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Add settings that are missed since the installer isn't run.
- UserController::resetPassLogin in core/
modules/ user/ src/ Controller/ UserController.php - Validates user, hash, and timestamp; logs the user in if correct.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.