Search for target

  1. Search 7.x for target
  2. Search 9.5.x for target
  3. Search 8.9.x for target
  4. Search 10.3.x for target
  5. Other projects
Title Object type File name Summary
EntityDisplayModeBase::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Set the entity type this display mode is used for.
EntityDisplayModeBaseUnitTest::testGetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::getTargetType
EntityDisplayModeBaseUnitTest::testSetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::setTargetType
EntityDisplayModeFormBase::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type for which the display mode is being created or edited.
EntityDisplayModeInterface::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Gets the entity type this display mode is used for.
EntityDisplayModeInterface::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Set the entity type this display mode is used for.
EntityFormDisplayValidationTest::testTargetBundleMustExist function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests that the target bundle of the entity form display is checked.
EntityInterface::getConfigTarget function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the configuration target identifier for the entity.
EntityReference::getTarget function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the referenced data.
EntityReference::getTargetDefinition function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the definition of the referenced entity.
EntityReference::getTargetIdentifier function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the identifier of the referenced data.
EntityReference::isTargetNew function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Checks whether the target entity has not been saved yet.
EntityReferenceAdminTest::$targetType property core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php Name of a second content type to be used as a target of entity references.
EntityReferenceAdminTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php Tests field settings for an entity reference field.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests multiple target bundles.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldTest::testTargetEntityNoLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests that the target entity is not unnecessarily loaded.
EntityReferenceFieldTest::testTargetEntityTypeMissing function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests exception thrown with a missing target entity type.
EntityReferenceSettingsTest::testConfigTargetBundleDeletion function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests that config bundle deletions are mirrored in field config settings.
EntityReferenceSettingsTest::testCustomTargetBundleDeletion function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests that deletions of custom bundles are mirrored in field settings.
EntityRepository::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by the config target identifier.
EntityRepositoryInterface::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by the config target identifier.
EntityType::$common_reference_target property core/lib/Drupal/Core/Entity/EntityType.php
EntityType::isCommonReferenceTarget function core/lib/Drupal/Core/Entity/EntityType.php Indicates whether this entity type is commonly used as a reference target.
EntityTypeInterface::isCommonReferenceTarget function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates whether this entity type is commonly used as a reference target.
EntityViewDisplayValidationTest::testTargetBundleMustExist function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that the target bundle of the entity view display is checked.
FieldConfigBase::getTargetBundle function core/lib/Drupal/Core/Field/FieldConfigBase.php Gets the bundle the field is attached to.
FieldConfigBase::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the ID of the entity type the field is attached to.
FieldConfigListBuilder::$targetBundle property core/modules/field_ui/src/FieldConfigListBuilder.php The name of the bundle the listed fields are attached to.
FieldConfigListBuilder::$targetEntityTypeId property core/modules/field_ui/src/FieldConfigListBuilder.php The name of the entity type the listed fields are attached to.
FieldConfigValidationTest::testTargetBundleMustExist function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the target bundle of the field is checked.
FieldDefinition::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Gets the bundle the field is attached to.
FieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the ID of the entity type the field is attached to.
FieldDefinition::setTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Set the target bundle.
FieldDefinitionInterface::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Gets the bundle the field is attached to.
FieldDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the ID of the entity type the field is attached to.
FieldStorageConfig::getTargetEntityTypeId function core/modules/field/src/Entity/FieldStorageConfig.php Returns the ID of the entity type the field is attached to.
FieldStorageCrudTest::testUpdateEntityTargetType function core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php Tests changing a field storage entity type.
FieldStorageDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the ID of the entity type the field is attached to.
FilterEntityReferenceTest::$targetNodes property core/modules/views/tests/src/Kernel/Handler/FilterEntityReferenceTest.php Test target nodes referenced by the entity reference.
FilterEntityReferenceTrait::$targetBundle property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php The content type to be referenced by the host content type.
FilterEntityReferenceTrait::$targetEntities property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php Entities to be used as reference targets.
IncorrectConfigTargetForm class core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php
IncorrectConfigTargetForm.php file core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php
IncorrectConfigTargetForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Form constructor.
IncorrectConfigTargetForm::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Gets the configuration names that will be editable.
IncorrectConfigTargetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Returns a unique string identifying the form.
JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
JsonApiFilterRegressionTest::testFilteringEntitiesByEntityReferenceTargetId function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Tests that collections can be filtered by an entity reference target_id.
JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.

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