protected property FormatterBase::$viewMode in Drupal 9
Same name and namespace in other branches
- 8 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 44
Class
- FormatterBase
- Base class for 'Field formatter' plugin implementations.
Namespace
Drupal\Core\FieldCode
protected $viewMode;