Search for has

  1. Search 7.x for has
  2. Search 9.5.x for has
  3. Search 10.3.x for has
  4. Search 11.x for has
  5. Other projects
Title Object type File name Summary
OperationData::hasDefault function composer/Plugin/Scaffold/Operations/OperationData.php Checks if default path exists.
OperationData::hasPath function composer/Plugin/Scaffold/Operations/OperationData.php Checks if path exists
OperationData::hasPrepend function composer/Plugin/Scaffold/Operations/OperationData.php Checks if prepend path exists.
OperationFactory::hasContent function composer/Plugin/Scaffold/Operations/OperationFactory.php Checks to see if the specified scaffold file exists and has content.
OverridesSectionStorage::hasIntegerId function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Determines if this entity type's ID is stored as an integer.
PagerPluginBase::hasMoreRecords function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Determine if there are more records available.
PagerPluginBaseTest::providerTestHasMoreRecords function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Provides test data for the hasMoreRecord method test.
PagerPluginBaseTest::testHasMoreRecords function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the hasMoreRecords() method.
password-hash.sh file core/scripts/password-hash.sh Drupal hash script - to generate a hash from a plaintext password
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::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.
PathPluginBase::hasPath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Checks to see if the display has a 'path' field.
PermissionsHashGenerator class core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGenerator.php file core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGenerator::$cache property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the persistent cache.
PermissionsHashGenerator::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$static property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the static cache.
PermissionsHashGenerator::doGenerate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies the user's permissions.
PermissionsHashGenerator::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Cached by role, invalidated whenever permissions change.
PermissionsHashGenerator::hash function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Hashes the given string.
PermissionsHashGenerator::__construct function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Constructs a PermissionsHashGenerator object.
PermissionsHashGeneratorInterface interface core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface.
PermissionsHashGeneratorInterface.php file core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php
PermissionsHashGeneratorInterface::generate function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator
@group Session
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked super user account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A mocked account.
PermissionsHashGeneratorTest::$account2Updated property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php An "updated" mocked account.
PermissionsHashGeneratorTest::$account3 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A different account.
PermissionsHashGeneratorTest::$cache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.
PermissionsHashGeneratorTest::$permissionsHash property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The permission hash class being tested.
PermissionsHashGeneratorTest::$privateKey property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked private key service.
PermissionsHashGeneratorTest::$staticCache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.
PermissionsHashGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate

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