public function SlickFormatterTrait::admin in Slick Carousel 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFormatterTrait::admin()
- 7.3 src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFormatterTrait::admin()
Returns the slick admin service shortcut.
1 call to SlickFormatterTrait::admin()
- SlickEntityReferenceFormatterBase::getScopedFormElements in src/
Plugin/ Field/ FieldFormatter/ SlickEntityReferenceFormatterBase.php
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFormatterTrait.php, line 58
Class
- SlickFormatterTrait
- A Trait common for slick formatters.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function admin() {
return \Drupal::service('slick.admin');
}