public function GridStackVariant::getOption in GridStack 8.2
Returns the value of a gridstack option group.
Parameters
string $group: The group name: settings, icon, use_framework, breakpoints.
Return value
mixed The option value merged with defaults.
Overrides GridStackBase::getOption
File
- src/
Entity/ GridStackVariant.php, line 76
Class
- GridStackVariant
- Defines the GridStack variant configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function getOption($group, $default = NULL) {
// @todo refine few more which should point to source as needed.
if ($gridstack = $this
->getOptionset()) {
if ($group == 'use_framework') {
return $gridstack
->getOption($group, $default);
}
}
return parent::getOption($group, $default);
}