You are here

public function EntityInterface::getConfigTarget in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigTarget()
  2. 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigTarget()

Gets the configuration target identifier for the entity.

Used to supply the correct format for storing a reference targeting this entity in configuration.

Return value

string The configuration target identifier.

1 method overrides EntityInterface::getConfigTarget()
ViewUI::getConfigTarget in core/modules/views_ui/src/ViewUI.php
Gets the configuration target identifier for the entity.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 443

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getConfigTarget();