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
PermissionsHashGeneratorTest::testGenerateNoCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method with no cache returned.
PermissionsHashGeneratorTest::testGeneratePersistentCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
PermissionsHashGeneratorTest::testGenerateStaticCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
PhpassHashedPassword class core/lib/Drupal/Core/Password/PhpassHashedPassword.php Secure password hashing functions based on the Portable PHP password
hashing framework.
PhpassHashedPassword.php file core/lib/Drupal/Core/Password/PhpassHashedPassword.php
PhpassHashedPassword::$countLog2 property core/lib/Drupal/Core/Password/PhpassHashedPassword.php Specifies the number of times the hashing function will be applied when
generating new password hashes. The number of times is calculated by
raising 2 to the power of the given value.
PhpassHashedPassword::$ITOA64 property core/lib/Drupal/Core/Password/PhpassHashedPassword.php Returns a string for mapping an int to the corresponding base 64 character.
PhpassHashedPassword::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Encodes bytes into printable base 64 using the *nix standard from crypt().
PhpassHashedPassword::check function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Check whether a plain text password matches a hashed password.
PhpassHashedPassword::crypt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Hash a password using a secure stretched hash.
PhpassHashedPassword::enforceLog2Boundaries function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Ensures that $count_log2 is within set bounds.
PhpassHashedPassword::generateSalt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Generates a random base 64-encoded salt prefixed with hash settings.
PhpassHashedPassword::getCountLog2 function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Parses the log2 iteration count from a stored hash or setting string.
PhpassHashedPassword::hash function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Hash a password using a secure hash.
PhpassHashedPassword::HASH_LENGTH constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The expected (and maximum) number of characters in a hashed password.
PhpassHashedPassword::MAX_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The maximum allowed log2 number of iterations for password stretching.
PhpassHashedPassword::MIN_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The minimum allowed log2 number of iterations for password stretching.
PhpassHashedPassword::needsRehash function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Check whether a hashed password needs to be replaced with a new hash.
PhpassHashedPassword::__construct function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Constructs a new password hashing instance.
PhpBackend::getByHash function core/lib/Drupal/Core/Cache/PhpBackend.php Fetch a cache item using a hashed cache ID.
PhpBackend::invalidatebyHash function core/lib/Drupal/Core/Cache/PhpBackend.php Invalidate one cache item.
PluginWithFormsInterface::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Gets whether the plugin has a form class for the given operation.
PluginWithFormsTrait::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php
PredefinedStatesWorkflowTestType::hasState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Determines if the workflow has a state with the provided ID.
ProfileTranslationHandler::hasCreatedTime function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports creation time natively.
ProfileTranslationHandler::hasPublishedStatus function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports published status natively.
QueryBase::hasAllTags function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has all specified tags.
QueryBase::hasAnyTag function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has any specified tag.
QueryBase::hasTag function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has a given tag.
RdfParsingTrait::hasRdfChildProperty function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Checks if a html document contains a resource with a given property value.
RdfParsingTrait::hasRdfProperty function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Checks if a html document contains a resource with a given property value.
RecursiveValidator::hasMetadataFor function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
Renderer::hasRenderContext function core/lib/Drupal/Core/Render/Renderer.php Checks whether a render context is active.
RendererInterface::hasRenderContext function core/lib/Drupal/Core/Render/RendererInterface.php Checks whether a render context is active.
RendererTest::testRenderSortingWithSetHashSorted function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
ResourceIdentifier::hasArity function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Whether this ResourceIdentifier has an arity.
ResourceObject::hasField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Whether the resource object has the given field.
ResourceResponseTestTrait::collectionHasResourceIdentifier function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Determines if a given resource exists in a list of resources.
ResourceType::hasField function core/modules/jsonapi/src/ResourceType/ResourceType.php Checks if the field exists.
ResourceTypeField::$hasOne property core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can only have one value.
ResourceTypeField::hasMany function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can have many values.
ResourceTypeField::hasOne function core/modules/jsonapi/src/ResourceType/ResourceTypeField.php Whether the field can only have one value.
ResponsiveImageStyle::hasImageStyleMappings function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Checks if there is at least one mapping defined.
ResponsiveImageStyleConfigEntityUnitTest::testHasImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @covers ::addImageStyleMapping
@covers ::hasImageStyleMappings
ResponsiveImageStyleInterface::hasImageStyleMappings function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Checks if there is at least one mapping defined.
Role::hasPermission function core/modules/user/src/Entity/Role.php Checks if the role has a permission.
RoleInterface::hasPermission function core/modules/user/src/RoleInterface.php Checks if the role has a permission.
RouteProviderLazyBuilder::hasRebuilt function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Determines if the router has been rebuilt.
Routes::hasNonInternalFileTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types lists non-internal "file" ones.
Routes::hasNonInternalTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types has any non-internal ones.

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