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 11.x for target
  5. Other projects
Title Object type File name Summary
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
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
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
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
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
FieldConfigBase::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldConfigBase.php
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
FieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinition.php
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
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.
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
IncorrectConfigTargetForm::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php
IncorrectConfigTargetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php
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.
JsonApiRegressionTest::testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure deep nested include works on multi target entity type field.
LanguageReference::getTargetIdentifier function core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php
Link::getTargetAttributes function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's target attributes.
LinksetController::toLinkTargetObjects function core/modules/system/src/Controller/LinksetController.php Encode a menu tree as link items and capture any cacheability metadata.
LocalStream::getTarget function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns the local writable target of the resource within the stream.

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