You are here

public function BlazyFormatterBaseTrait::admin in Blazy 8

Returns the blazy admin service.

1 method overrides BlazyFormatterBaseTrait::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/BlazyFormatterBaseTrait.php, line 37

Class

BlazyFormatterBaseTrait
A Trait common for blazy image, video and file ER formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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