You are here

public static function GridStackManager::create in GridStack 8.2

File

src/GridStackManager.php, line 69

Class

GridStackManager
Implements GridStackManagerInterface.

Namespace

Drupal\gridstack

Code

public static function create(ContainerInterface $container) {
  $instance = parent::create($container);
  $instance
    ->setEngineManager($container
    ->get('gridstack.engine_manager'));
  $instance
    ->setSkinManager($container
    ->get('gridstack.skin_manager'));
  $instance
    ->setStylizer($container
    ->get('gridstack.stylizer'));
  return $instance;
}