EntityDisplayModeBase::$targetEntityType
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::targetEntityType
- 10 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::targetEntityType
- 11.x core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::targetEntityType
The entity type this form or view mode is used for.
This is not to be confused with EntityDisplayModeBase::$entityType which is inherited from Entity::$entityType.
Type: string
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php, line 35
Class
- EntityDisplayModeBase
- Base class for config entity types with settings for form and view modes.
Namespace
Drupal\Core\EntityCode
protected $targetEntityType;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.