Search for password_

  1. Search 7.x for password_
  2. Search 9.5.x for password_
  3. Search 10.3.x for password_
  4. Search 11.x for password_
  5. Other projects
Title Object type File name Summary
claro_preprocess_form_element__password_confirm function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for form_element__password_confirm.
demo_umami_set_users_passwords function core/profiles/demo_umami/demo_umami.profile Sets the password of admin to be the password for all users.
FakePhpassHashedPassword::enforceLog2Boundaries function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Exposes this method as public for tests.
FakePhpassHashedPassword::__construct function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Constructs a new password hashing instance.
form--password-confirm.css file core/themes/claro/css/components/form--password-confirm.css Visual styles for the Password widgets.
form--password-confirm.pcss.css file core/themes/claro/css/components/form--password-confirm.pcss.css Visual styles for the Password widgets.
MigratePassword.php file core/modules/user/src/MigratePassword.php
MigrateUserAdminPassTest::$originalPasswords property core/modules/user/tests/src/Kernel/Migrate/MigrateUserAdminPassTest.php The passwords as retrieved from the account entities before migration.
MigrateUserAdminPassTest::testAdminPasswordPreserved function core/modules/user/tests/src/Kernel/Migrate/MigrateUserAdminPassTest.php Tests preserving the admin user's password.
password-hash.sh file core/scripts/password-hash.sh Drupal hash script - to generate a hash from a plaintext password
password-suggestions.css file core/themes/bartik/css/components/password-suggestions.css Styles for password suggestions in Bartik.
Password.php file core/lib/Drupal/Core/Render/Element/Password.php
Password::getInfo function core/lib/Drupal/Core/Render/Element/Password.php Returns the element properties for this element.
Password::preRenderPassword function core/lib/Drupal/Core/Render/Element/Password.php Prepares a #type 'password' render element for input.html.twig.
Password::valueCallback function core/lib/Drupal/Core/Render/Element/Password.php Determines how user input is mapped to an element's #value property.
PasswordConfirm class core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Provides a form element for double-input of passwords.
PasswordConfirm.php file core/lib/Drupal/Core/Render/Element/PasswordConfirm.php
PasswordConfirm::getInfo function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Returns the element properties for this element.
PasswordConfirm::processPasswordConfirm function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Expand a password_confirm field into two text boxes.
PasswordConfirm::validatePasswordConfirm function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Validates a password_confirm element.
PasswordConfirm::valueCallback function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Determines how user input is mapped to an element's #value property.
PasswordConfirmTest class core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php @coversDefaultClass \Drupal\Core\Render\Element\PasswordConfirm[[api-linebreak]]
@group Render
PasswordConfirmTest.php file core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php
PasswordConfirmTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php Data provider for testValueCallback().
PasswordConfirmTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php @covers ::valueCallback[[api-linebreak]]
PasswordHashingTest class core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Unit tests for password hashing API.
PasswordHashingTest.php file core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Contains \Drupal\Tests\Core\Password\PasswordHashingTest.
PasswordHashingTest::$hashedPassword property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The hashed password.
PasswordHashingTest::$md5HashedPassword property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The md5 password.
PasswordHashingTest::$password property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The raw password.
PasswordHashingTest::$passwordHasher property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The password hasher under test.
PasswordHashingTest::$user property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The user for testing.
PasswordHashingTest::providerLongPasswords function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Provides the test matrix for testLongPassword().
PasswordHashingTest::setUp function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
PasswordHashingTest::testLongPassword function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Verifies that passwords longer than 512 bytes are not hashed.
PasswordHashingTest::testPasswordHashing function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Test password hashing.
PasswordHashingTest::testPasswordNeedsUpdate function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Test a password needs update.
PasswordHashingTest::testPasswordRehashing function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Tests password rehashing.
PasswordHashingTest::testWithinBounds function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Tests the hash count boundaries are enforced.
PasswordInterface interface core/lib/Drupal/Core/Password/PasswordInterface.php Secure password hashing functions for user authentication.
PasswordInterface.php file core/lib/Drupal/Core/Password/PasswordInterface.php
PasswordInterface::check function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a plain text password matches a hashed password.
PasswordInterface::hash function core/lib/Drupal/Core/Password/PasswordInterface.php Hash a password using a secure hash.
PasswordInterface::needsRehash function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a hashed password needs to be replaced with a new hash.
PasswordInterface::PASSWORD_MAX_LENGTH constant core/lib/Drupal/Core/Password/PasswordInterface.php Maximum password length.
PasswordItem class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines the 'password' entity field type.
PasswordItem.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php
PasswordItem::isEmpty function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Determines whether the data structure is empty.
PasswordItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines custom presave behavior for field values.
PasswordItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines field item properties.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.