public function GridStack::getSetting in GridStack 8
Same name and namespace in other branches
- 8.2 src/Entity/GridStack.php \Drupal\gridstack\Entity\GridStack::getSetting()
Returns the value of a gridstack setting.
Parameters
string $name: The setting name.
Return value
mixed The option value.
Overrides GridStackInterface::getSetting
File
- src/
Entity/ GridStack.php, line 155
Class
- GridStack
- Defines the GridStack configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function getSetting($name) {
return NULL !== $this
->getOptions('settings', $name) ? $this
->getOptions('settings', $name) : NULL;
}