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
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to install.
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityInterface::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityInterface.php Indicates if a link template exists for a given key.
EntityReferenceFieldNormalizer::hasNonInternalResourceType function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Determines if a given list of resource types contains a non-internal type.
EntityReferenceItem::hasNewEntity function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the item holds an unsaved entity.
EntityStorageBase::has function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if this entity already exists in storage.
EntityStorageBase::hasData function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if the storage contains any data.
EntityStorageInterface::hasData function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Determines if the storage contains any data.
EntityTestDefinitionSubscriber::hasDefinitionBeenUpdated function core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php Checks whether the installed definitions were updated before the event.
EntityTestDefinitionSubscriber::hasEventFired function core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php Checks whether an event has been dispatched.
EntityType::hasFormClasses function core/lib/Drupal/Core/Entity/EntityType.php Indicates if this entity type has any forms.
EntityType::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityType.php Determines if there is a handler for a given type.
EntityType::hasKey function core/lib/Drupal/Core/Entity/EntityType.php Indicates if a given entity key exists.
EntityType::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Indicates if a link template exists for a given key.
EntityType::hasListBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php Indicates if this entity type has a list class.
EntityType::hasRouteProviders function core/lib/Drupal/Core/Entity/EntityType.php Indicates if this entity type has any route provider.
EntityType::hasViewBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php Indicates if this entity type has a view builder.
EntityTypeInterface::hasFormClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has any forms.
EntityTypeInterface::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Determines if there is a handler for a given type.
EntityTypeInterface::hasKey function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if a given entity key exists.
EntityTypeInterface::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if a link template exists for a given key.
EntityTypeInterface::hasListBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has a list class.
EntityTypeInterface::hasRouteProviders function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has any route provider.
EntityTypeInterface::hasViewBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has a view builder.
EntityTypeManager::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManager.php
EntityTypeManagerInterface::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Checks whether a certain entity type has a certain handler.
EntityTypeManagerTest::providerTestHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testHasHandler().
EntityTypeManagerTest::testHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the hasHandler() method.
EntityTypeTest::testHasFormClasses function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasFormClasses() method.
EntityTypeTest::testHasKey function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasKey() method.
EntityUntranslatableFieldsConstraintValidator::hasUntranslatableFieldsChanges function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Checks whether an entity has untranslatable field changes.
EntityUrlTest::HAS_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has a bundle key.
EntityUrlTest::HAS_NO_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has no bundle key.
EntityViewDisplayValidationTest::$hasLabel property core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Whether a config entity of this type has a label.
FieldableEntityInterface::hasField function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Determines whether the entity has a field with the given name.
FieldBlock::entityFieldHasDefaultValue function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Checks whether there is a default value set on the field.
FieldBlockTest::providerTestBlockAccessEntityAllowedFieldHasValue function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Provides test data for ::testBlockAccessEntityAllowedFieldHasValue().
FieldBlockTest::testBlockAccessEntityAllowedFieldHasValue function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests populated vs empty build.
FieldConfigEditForm::hasAnyRequired function core/modules/field_ui/src/Form/FieldConfigEditForm.php A function to check if element contains any required elements.
FieldConfigEditFormTest::testHasAnyRequired function core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php @covers ::hasAnyRequired
FieldDataCountTest::testEntityCountAndHasData function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests entityCount() and hadData() methods.
FieldItemList::hasAffectingChanges function core/lib/Drupal/Core/Field/FieldItemList.php Determines whether the field has relevant changes.
FieldItemListInterface::hasAffectingChanges function core/lib/Drupal/Core/Field/FieldItemListInterface.php Determines whether the field has relevant changes.
FieldItemListTest::testHasAffectingChanges function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php Tests identical behavior of ::hasAffectingChanges with ::equals.
FieldItemNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php
FieldPluginBase::RENDER_TEXT_PHASE_COMPLETELY constant core/modules/views/src/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering the whole element.
FieldPluginBase::RENDER_TEXT_PHASE_EMPTY constant core/modules/views/src/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering the empty text.

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