public function GridStackFormatterTrait::formatter in GridStack 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/GridStackFormatterTrait.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFormatterTrait::formatter()
Returns the gridstack field formatter service.
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackFormatterTrait.php, line 37
Class
- GridStackFormatterTrait
- A Trait common for gridstack formatters.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public function formatter() {
return $this->formatter;
}