You are here

protected property FormatterBase::$viewMode in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::viewMode
  2. 10 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::viewMode

The view mode.

Type: string

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 44

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

protected $viewMode;