You are here

public function ExtraFieldDisplayBase::getEntityViewDisplay in Extra Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ExtraFieldDisplayBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayBase::getEntityViewDisplay()

Returns the entity view display object of the field's host entity.

Return value

\Drupal\Core\Entity\Display\EntityViewDisplayInterface The entity view display object.

Overrides ExtraFieldDisplayInterface::getEntityViewDisplay

File

src/Plugin/ExtraFieldDisplayBase.php, line 61

Class

ExtraFieldDisplayBase
Base class for Extra field Display plugins.

Namespace

Drupal\extra_field\Plugin

Code

public function getEntityViewDisplay() {
  return $this->entityViewDisplay;
}