You are here

public function GridStackManager::getSkins in GridStack 8

Returns defined skins as registered via hook_gridstack_skins_info().

3 calls to GridStackManager::getSkins()
GridStackManager::attach in src/GridStackManager.php
GridStackManager::getSkinOptions in src/GridStackManager.php
Returns available skins for select options.
GridStackManager::libraryInfoBuild in src/GridStackManager.php
Implements hook_library_info_build().

File

src/GridStackManager.php, line 37

Class

GridStackManager
Implements GridStackManagerInterface.

Namespace

Drupal\gridstack

Code

public function getSkins() {
  if (!isset($this->skinDefinition)) {
    $this->skinDefinition = $this
      ->buildSkins('gridstack', '\\Drupal\\gridstack\\GridStackSkin');
  }
  return $this->skinDefinition;
}