You are here

public function SlickFormatterTrait::admin in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFormatterTrait::admin()
  2. 7.3 src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFormatterTrait::admin()

Returns the slick admin service shortcut.

File

src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php, line 43

Class

SlickFormatterTrait
A Trait common for slick formatters.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function admin() {
  return \Drupal::service('slick.admin');
}