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 42
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.