You are here

protected function GridStackManager::setEngine in GridStack 8.2

Sets the layout engine.

1 call to GridStackManager::setEngine()
GridStackManager::initEngine in src/GridStackManager.php
Prepares the layout engine.

File

src/GridStackManager.php, line 156

Class

GridStackManager
Implements GridStackManagerInterface.

Namespace

Drupal\gridstack

Code

protected function setEngine(array $settings) {
  $this->engine = $this->engineManager
    ->load($settings['_engine'], $settings);
  return $this;
}