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 11.x for has
  5. Other projects
Title Object type File name Summary
MockFormBase::hash_submit function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
ModerationInformation::hasPendingRevision function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformationInterface::hasPendingRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if a pending revision exists for the specified entity.
ModerationInformationTest::testHasPendingRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::hasPendingRevision
ModerationLocaleTest::hasModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Checks whether the page contains the moderation form.
ModuleHandler::hasImplementations function core/lib/Drupal/Core/Extension/ModuleHandler.php
ModuleHandlerInterface::hasImplementations function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines whether there are implementations of a hook.
ModuleHandlerTest::testHasImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests hasImplementations.
MultipleValueWidgetTest::assertHasFocusByAttribute function core/modules/field/tests/src/FunctionalJavascript/MultipleValueWidgetTest.php Asserts an element specified by an attribute value has focus.
NavigationRenderer::hasLocalTasks function core/modules/navigation/src/NavigationRenderer.php Do we have local tasks that we want to show in the top bar?
NormalizerBase::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/NormalizerBase.php
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
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::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$processor property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The access policy processor.
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
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php

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