You are here

public static function SlickAdmin::create in Slick Carousel 8.2

Same name and namespace in other branches
  1. 8 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::create()
1 call to SlickAdmin::create()
SlickAdminUnitTest::testBlazyAdminCreate in tests/src/Unit/Form/SlickAdminUnitTest.php
@covers ::create @covers ::__construct @covers ::blazyAdmin @covers ::manager

File

src/Form/SlickAdmin.php, line 50

Class

SlickAdmin
Provides resusable admin functions, or form elements.

Namespace

Drupal\slick\Form

Code

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