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
EntityHasFieldConstraint::$notFieldableMessage property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The violation message for non-fieldable entities.
EntityHasFieldConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityHasFieldConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to enable.
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.
EntityManager::hasDefinition function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::hasHandler function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testHasDefinition function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::hasDefinition
EntityManagerTest::testHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::hasHandler
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::hasLabelCallback function core/lib/Drupal/Core/Entity/EntityType.php Indicates if a label callback 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::hasLabelCallback function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if a label callback 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 Checks whether a certain entity type has a certain handler.
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.
EntityTypeTest::testHasLabelCallack function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::hasLabelCallback
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.
FakePhpassHashedPassword class core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php A fake class for tests.

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