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