You are here

private function GridStackStylizer::loadStyle in GridStack 8.2

6 calls to GridStackStylizer::loadStyle()
GridStackStylizer::builder in src/GridStackStylizer.php
GridStackStylizer::form in src/GridStackStylizer.php
GridStackStylizer::setBuilder in src/GridStackStylizer.php
Sets the builder plugin.
GridStackStylizer::setForm in src/GridStackStylizer.php
Sets the form plugin.
GridStackStylizer::setStyle in src/GridStackStylizer.php
Sets the style plugin.

... See full list

File

src/GridStackStylizer.php, line 141

Class

GridStackStylizer
Implements GridStackStylizerInterface.

Namespace

Drupal\gridstack

Code

private function loadStyle($id = 'style', array $configuration = [], $reload = FALSE) {
  if (!isset($this->loadStyle[$id]) || $reload) {
    $this->loadStyle[$id] = $this
      ->load($id, $configuration);
  }
  return $this->loadStyle[$id];
}