public function GridStackFormatterTrait::formatter in GridStack 8
Same name and namespace in other branches
- 8.2 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 29
Class
- GridStackFormatterTrait
- A Trait common for gridstack formatters.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public function formatter() {
return $this->formatter;
}