Search for target

  1. Search 7.x for target
  2. Search 8.9.x for target
  3. Search 10.3.x for target
  4. Search 11.x for target
  5. Other projects
Title Object type File name Summary
EntityDisplayInterface::setTargetBundle function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Sets the bundle to be displayed.
EntityDisplayModeAddForm::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php The entity type for which the display mode is being created.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityDisplayModeBase::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the entity type this display mode is used for.
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
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.
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::$target_type 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.
EntityReferenceItemNormalizer::targetEntityIsFieldable function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Checks whether the referenced entity is of a fieldable entity type.
EntityReferenceRdfaTest::$targetEntity property core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php The term for testing.
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 Indicates whether this entity type is commonly used as a reference target.
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.
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.
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.
JsonApiRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.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.
JsonApiRegressionTest::testFilteringEntitiesByEntityReferenceTargetId function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Tests that collections can be filtered by an entity reference target_id.
LanguageReference::getTargetIdentifier function core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php Gets the identifier of the referenced data.
Link::getTargetAttributes function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's target attributes.
LocalStream::getTarget function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns the local writable target of the resource within the stream.
LoggingTest::testEnableTargetLogging function core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php Tests logging queries against multiple targets on the same connection.
LoggingTest::testEnableTargetLoggingNoTarget function core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php Tests that logs to separate targets use the same connection properly.
MigrateVocabularyFieldInstanceTest::assertTargetBundles function core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php Asserts the settings of an entity reference field config entity.
OperationInterface::scaffoldOverExistingTarget function composer/Plugin/Scaffold/Operations/OperationInterface.php Determines what to do if operation is used at same path as a previous op.

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