You are here

public function DsFieldInterface::viewMode in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsField/DsFieldInterface.php \Drupal\ds\Plugin\DsField\DsFieldInterface::viewMode()
  2. 8.3 src/Plugin/DsField/DsFieldInterface.php \Drupal\ds\Plugin\DsField\DsFieldInterface::viewMode()

Gets the view mode.

Return value

string The configured view mode.

1 method overrides DsFieldInterface::viewMode()
DsFieldBase::viewMode in src/Plugin/DsField/DsFieldBase.php
Gets the view mode.

File

src/Plugin/DsField/DsFieldInterface.php, line 91

Class

DsFieldInterface
Defines a common interface for all ds field plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function viewMode();