Search for getTarget

  1. Search 7.x for getTarget
  2. Search 8.9.x for getTarget
  3. Search 10.3.x for getTarget
  4. Search 11.x for getTarget
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::getTargetBundle function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets the bundle the field is attached to.
BaseFieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the ID of the entity type the field is attached to.
CommentType::getTargetEntityTypeId function core/modules/comment/src/Entity/CommentType.php Gets the target entity type id for this comment type.
CommentTypeInterface::getTargetEntityTypeId function core/modules/comment/src/CommentTypeInterface.php Gets the target entity type id for this comment type.
Connection::getTarget function core/lib/Drupal/Core/Database/Connection.php Returns the target this connection is associated with.
ContentLanguageSettings::getTargetBundle function core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettings::getTargetEntityTypeId function core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettingsInterface::getTargetBundle function core/modules/language/src/ContentLanguageSettingsInterface.php Gets the bundle this config applies to.
ContentLanguageSettingsInterface::getTargetEntityTypeId function core/modules/language/src/ContentLanguageSettingsInterface.php Gets the entity type ID this config applies to.
DataReferenceBase::getTarget function core/lib/Drupal/Core/TypedData/DataReferenceBase.php Gets the referenced data.
DataReferenceDefinition::getTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Gets the data definition of the referenced data.
DataReferenceDefinitionInterface::getTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php Gets the data definition of the referenced data.
DataReferenceInterface::getTarget function core/lib/Drupal/Core/TypedData/DataReferenceInterface.php Gets the referenced data.
DataReferenceInterface::getTargetIdentifier function core/lib/Drupal/Core/TypedData/DataReferenceInterface.php Gets the identifier of the referenced data.
EntityDisplayBase::getTargetBundle function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the bundle to be displayed.
EntityDisplayBase::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the entity type for which this display is used.
EntityDisplayBaseTest::testGetTargetBundle function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getTargetBundle
EntityDisplayBaseTest::testGetTargetEntityTypeId function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getTargetEntityTypeId
EntityDisplayInterface::getTargetBundle function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the bundle to be displayed.
EntityDisplayInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the entity type for which this display is used.
EntityDisplayModeBase::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the entity type this display mode is used for.
EntityDisplayModeBaseUnitTest::testGetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::getTargetType
EntityDisplayModeInterface::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php Gets the entity type this display mode is used for.
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.
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.
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.
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
FieldStorageDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the ID of the entity type the field is attached to.
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.
StorageComparer::getTargetStorage function core/lib/Drupal/Core/Config/StorageComparer.php Gets the configuration target storage.
StorageComparerInterface::getTargetStorage function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets the configuration target storage.
StreamWrapperManager::getTarget function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Returns the part of a URI after the schema.
StreamWrapperManagerInterface::getTarget function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Returns the part of a URI after the schema.
WorkspaceMerger::getTargetLabel function core/modules/workspaces/src/WorkspaceMerger.php
WorkspaceOperationInterface::getTargetLabel function core/modules/workspaces/src/WorkspaceOperationInterface.php Returns the human-readable label of the target.
WorkspacePublisher::getTargetLabel function core/modules/workspaces/src/WorkspacePublisher.php

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