You are here

public static function BlazyAdminBase::create in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/Form/BlazyAdminBase.php \Drupal\blazy\Form\BlazyAdminBase::create()

File

src/Form/BlazyAdminBase.php, line 97

Class

BlazyAdminBase
A base for blazy admin integration to have re-usable methods in one place.

Namespace

Drupal\blazy\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_display.repository'), $container
    ->get('config.typed'), $container
    ->get('blazy.manager'));
}