You are here

public function SlickFormatterTrait::admin in Slick Carousel 8.2

Same name and namespace in other branches
  1. 8 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.

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\FieldFormatter

Code

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