Search for has

  1. Search 7.x for has
  2. Search 9.5.x for has
  3. Search 8.9.x for has
  4. Search 10.3.x for has
  5. Other projects
Title Object type File name Summary
NavigationRenderer::hasLocalTasks function core/modules/navigation/src/NavigationRenderer.php Do we have local tasks that we want to show in the top bar?
NullStorageExpirable::has function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Returns whether a given key exists in the store.
OEmbedIframeControllerTest::providerBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Data provider for testBadHashParameter().
OEmbedIframeControllerTest::testBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests validation of the 'hash' query string parameter.
OperationData::hasAppend function composer/Plugin/Scaffold/Operations/OperationData.php Checks if append path exists.
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.
OptionsFieldUIAllowedValuesTest::assertHasFocusByAttribute function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts an element specified by an attribute value has focus.
OptionsWidgetBase::$has_value property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
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
PasswordHashingLegacyTest class core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php Unit tests for deprecated password hashing API.
PasswordHashingLegacyTest.php file core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php
PasswordHashingLegacyTest::testDeprecation function core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php @covers \Drupal\Core\Password\PhpassHashedPassword
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.
PasswordItemTest::testPreSavePreHashed function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordVerifyTest::testPasswordCheckUnknownHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() is forwarded to corePassword instance if hash settings are not recognized.
PasswordVerifyTest::testPasswordHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that hash() is forwarded to corePassword instance.
PasswordVerifyTest::testPasswordNeedsRehash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that needsRehash() is forwarded to corePassword instance.
PathPluginBase::hasPath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Checks to see if the display has a 'path' field.
PermissionChecker::hasPermission function core/lib/Drupal/Core/Session/PermissionChecker.php Checks whether an account has a permission.
PermissionCheckerInterface::hasPermission function core/lib/Drupal/Core/Session/PermissionCheckerInterface.php Checks whether an account has a permission.
PermissionCheckerTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method under normal circumstances.
PermissionCheckerTest::testHasPermissionEmpty function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method when no policy added something.
PermissionCheckerTest::testHasPermissionMixed function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method when mixed scopes and identifiers exist.
PermissionCheckerTest::testHasPermissionOnlyContrib function core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php Tests the hasPermission method with only contrib scopes and identifiers.
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::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Gets the cacheability metadata for the generated hash.
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.
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
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 user 1 account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 2 account.
PermissionsHashGeneratorTest::$permissionsHash property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The permission hash class being tested.
PermissionsHashGeneratorTest::$processor property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked access policy processor.
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

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