You are here

public static function GridStackAdmin::create in GridStack 8

Same name and namespace in other branches
  1. 8.2 src/Form/GridStackAdmin.php \Drupal\gridstack\Form\GridStackAdmin::create()
1 call to GridStackAdmin::create()
GridStackAdminUnitTest::testBlazyAdminCreate in tests/src/Unit/Form/GridStackAdminUnitTest.php
@covers ::create @covers ::__construct @covers ::blazyAdmin @covers ::manager

File

src/Form/GridStackAdmin.php, line 49

Class

GridStackAdmin
Provides resusable admin functions or form elements.

Namespace

Drupal\gridstack\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('blazy.admin.extended'), $container
    ->get('gridstack.manager'));
}