function EntityDisplayModeBase::getTargetType
Gets the entity type this display mode is used for.
Return value
string The entity type name.
Overrides EntityDisplayModeInterface::getTargetType
1 call to EntityDisplayModeBase::getTargetType()
- EntityDisplayModeBase::urlRouteParameters in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php, line 79
Class
- EntityDisplayModeBase
- Base class for config entity types with settings for form and view modes.
Namespace
Drupal\Core\EntityCode
public function getTargetType() {
return $this->targetEntityType;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.