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
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.
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
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.
RestResourceConfigValidationTest::$hasLabel property core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php Whether a config entity of this type has a label.
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.
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.
Row::getHash function core/modules/migrate/src/Row.php Returns the hash for the source values..
Row::hasDestinationProperty function core/modules/migrate/src/Row.php Tests if destination property exists.
Row::hasSourceProperty function core/modules/migrate/src/Row.php Determines whether a source has a property.
Row::rehash function core/modules/migrate/src/Row.php Recalculates the hash for the row.
RowTest::$testHash property core/modules/migrate/tests/src/Unit/RowTest.php The test hash.
RowTest::$testHashMod property core/modules/migrate/tests/src/Unit/RowTest.php The test hash after changing title value to 'new title'.
RowTest::testHashing function core/modules/migrate/tests/src/Unit/RowTest.php Tests hashing.
ScaffoldFileCollection::checkListHasItemWithContent function composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php Scans through a list of scaffold files and determines if any has contents.
ScaffoldFileInfo::hasChanged function composer/Plugin/Scaffold/ScaffoldFileInfo.php Returns TRUE if the target does not exist or has changed.
ScaffoldOptions::hasAllowedPackages function composer/Plugin/Scaffold/ScaffoldOptions.php Determines whether any allowed packages were defined.
ScaffoldOptions::hasFileMapping function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if there are file mappings.
ScaffoldOptions::hasGitIgnore function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if there is defined a value for the 'gitignore' option.
ScaffoldOptions::hasLocation function composer/Plugin/Scaffold/ScaffoldOptions.php Determines whether a given named location is defined.
ScaffoldOptions::hasOptions function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if the provided 'extras' section has scaffold options.
Schema::hashBase64 function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Calculates a base-64 encoded PostgreSQL-safe sha-256 hash.
SectionListTrait::hasBlankSection function core/modules/layout_builder/src/SectionListTrait.php Indicates if this section list contains a blank section.

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