Search for has

  1. Search 7.x for has
  2. Search 8.9.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::testGenerateStaticCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
PhpassHashedPassword class core/lib/Drupal/Core/Password/PhpassHashedPassword.php Secure hashing functions based on 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 Password stretching iteration count.
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 Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass().
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Checks whether any preceding constraints have been violated.
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.
PrimitiveDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
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
RelationshipNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.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.
ResourceIdentifierNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceObject::hasField function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Whether the resource object has the given field.
ResourceObjectNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
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.
ReverseContainer::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Generates an identifier for a service based on the object class and hash.
Role::hasPermission function core/modules/user/src/Entity/Role.php Checks if the role has a permission.

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