You are here

public function BlazyFormatterTrait::admin in Blazy 8.2

Returns the blazy admin service.

1 method overrides BlazyFormatterTrait::admin()
BlazyTestEntityReferenceFormatterTest::admin in tests/modules/blazy_test/src/Plugin/Field/FieldFormatter/BlazyTestEntityReferenceFormatterTest.php
Returns the blazy_test admin service shortcut.

File

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

Class

BlazyFormatterTrait
A Trait common for all blazy formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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