protected property FieldFormatterBase::$languageManager in (Entity Reference) Field Formatters 3.x
The language manager object for retrieving the correct language code.
Type: \Drupal\Core\Language\LanguageManagerInterface
File
- src/
Plugin/ Field/ FieldFormatter/ FieldFormatterBase.php, line 46
Class
- FieldFormatterBase
- Base class for field formatters.
Namespace
Drupal\field_formatter\Plugin\Field\FieldFormatterCode
protected $languageManager;