function EntityInterface::getConfigTarget
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigTarget()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigTarget()
- 11.x 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.
2 methods override EntityInterface::getConfigTarget()
- EntityBase::getConfigTarget in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Gets the configuration target identifier for the entity.
- 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 506
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function getConfigTarget();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.