EntityDisplayBase::getTargetEntityTypeId

public EntityDisplayBase::getTargetEntityTypeId()

Gets the entity type for which this display is used.

Return value

string The entity type id.

Overrides EntityDisplayInterface::getTargetEntityTypeId

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 198

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

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

Please login to continue.