FormatterBase::$viewMode

The view mode.

Type: string

File

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

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

protected $viewMode;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.