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