FormatterBase::$viewMode
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::viewMode
- 8.9.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::viewMode
- 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 46
Class
- FormatterBase
- Base class for 'Field formatter' plugin implementations.
Namespace
Drupal\Core\FieldCode
protected $viewMode;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.