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 10.3.x for has
  5. Other projects
Title Object type File name Summary
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
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
EntityType::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::hasKey function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::hasListBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::hasRouteProviders function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::hasViewBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php
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
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
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.
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.
FieldPluginBase::RENDER_TEXT_PHASE_SINGLE_ITEM constant core/modules/views/src/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering a single item.
FieldStorageConfig::hasCustomStorage function core/modules/field/src/Entity/FieldStorageConfig.php
FieldStorageConfig::hasData function core/modules/field/src/Entity/FieldStorageConfig.php Determines whether a field has any data.
FieldStorageDefinitionInterface::hasCustomStorage function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the storage behavior for this field.
FieldTranslationSynchronizer::itemHash function core/modules/content_translation/src/FieldTranslationSynchronizer.php Computes a hash code for the specified item.
FileUploadResult::hasViolations function core/modules/file/src/Upload/FileUploadResult.php Returns TRUE if there are constraint violations.
FilterPluginBase::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Determines if the given grouped filter entry has a valid value.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php
FormState::has function core/lib/Drupal/Core/Form/FormState.php

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