You are here

protected function GridStackManager::initEngine in GridStack 8.2

Prepares the layout engine.

1 call to GridStackManager::initEngine()
GridStackManager::prepareBuild in src/GridStackManager.php
Prepares GridStack build.

File

src/GridStackManager.php, line 232

Class

GridStackManager
Implements GridStackManagerInterface.

Namespace

Drupal\gridstack

Code

protected function initEngine(array &$build, array &$element) {
  $settings =& $build['settings'];
  $this
    ->setEngine($settings);
  $this->engine
    ->build($build, $element);
}