EntityDisplayModeBase::getTargetType

public EntityDisplayModeBase::getTargetType()

Gets the entity type this display mode is used for.

Return value

string The entity type name.

Overrides EntityDisplayModeInterface::getTargetType

File

core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 72

Class

EntityDisplayModeBase
Base class for config entity types with settings for form and view modes.

Namespace

Drupal\Core\Entity

Code

public function getTargetType() {
  return $this->targetEntityType;
}
doc_Drupal
2016-10-29 09:05:37
Comments
Leave a Comment

Please login to continue.