You are here

public function ExtraFieldDisplayInterface::getViewMode in Extra Field 8

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

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

Return value

string The view mode the field is being rendered in.

1 method overrides ExtraFieldDisplayInterface::getViewMode()
ExtraFieldDisplayBase::getViewMode in src/Plugin/ExtraFieldDisplayBase.php
Returns the entity view mode object of the field's host entity.

File

src/Plugin/ExtraFieldDisplayInterface.php, line 73

Class

ExtraFieldDisplayInterface
Defines an interface for Extra Field Display plugins.

Namespace

Drupal\extra_field\Plugin

Code

public function getViewMode();