You are here

public static function GridStackAdmin::create in GridStack 8.2

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

Class

GridStackAdmin
Provides reusable 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'));
}