You are here

public function GridStackSkinManager::getSkins in GridStack 8.2

Returns gridstack skins registered via GridStackSkin plugin or defaults.

3 calls to GridStackSkinManager::getSkins()
GridStackSkinManager::attach in src/GridStackSkinManager.php
Provides gridstack skins and libraries.
GridStackSkinManager::getSkinOptions in src/GridStackSkinManager.php
Returns available skins for select options.
GridStackSkinManager::libraryInfoBuild in src/GridStackSkinManager.php
Implements hook_library_info_build().

File

src/GridStackSkinManager.php, line 34

Class

GridStackSkinManager
Implements GridStackSkinManagerInterface.

Namespace

Drupal\gridstack

Code

public function getSkins() {
  if (!isset($this->skinDefinition)) {
    $this->skinDefinition = $this
      ->getData([
      'skins',
    ], TRUE);
  }
  return $this->skinDefinition;
}