public function GridStackManager::getSkinOptions in GridStack 8
Returns available skins for select options.
File
- src/
GridStackManager.php, line 48
Class
- GridStackManager
- Implements GridStackManagerInterface.
Namespace
Drupal\gridstackCode
public function getSkinOptions() {
if (!isset($this->skinOptions)) {
$this->skinOptions = [];
foreach ($this
->getSkins() as $skin => $properties) {
$this->skinOptions[$skin] = isset($properties['name']) ? strip_tags($properties['name']) : $skin;
}
}
return $this->skinOptions;
}