Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
bootstrap.inc
»
drupal_random_bytes
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
8 calls to drupal_random_bytes()
drupal_get_private_key
in drupal/
core/
includes/
common.inc
Ensures the private key variable used to generate tokens is set.
drupal_install_config_directories
in drupal/
core/
includes/
install.inc
Creates the config directory and ensures it is operational.
drupal_session_regenerate
in drupal/
core/
includes/
session.inc
Called when an anonymous user becomes authenticated or vice-versa.
install_settings_form_submit
in drupal/
core/
includes/
install.core.inc
Form submission handler for
install_settings_form
().
Php::generate
in drupal/
core/
lib/
Drupal/
Component/
Uuid/
Php.php
Implements
Drupal\Component\Uuid\UuidInterface::generate
().
PhpassHashedPassword::generateSalt
in drupal/
core/
lib/
Drupal/
Core/
Password/
PhpassHashedPassword.php
Generates a random base 64-encoded salt prefixed with settings for the hash.
UpgradePathTestBase::prepareD8Session
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UpgradePathTestBase.php
Prepares the appropriate session for the release of Drupal being upgraded.
user_pass_reset
in drupal/
core/
modules/
user/
user.pages.inc
Menu callback; process one time login link and redirects to the user page on success.