protected function GridStackViews::defineOptions in GridStack 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/style/GridStackViews.php \Drupal\gridstack\Plugin\views\style\GridStackViews::defineOptions()
File
- src/
Plugin/ views/ style/ GridStackViews.php, line 58
Class
- GridStackViews
- GridStack style plugin.
Namespace
Drupal\gridstack\Plugin\views\styleCode
protected function defineOptions() {
$options = [
'stamp' => [
'default' => [],
],
];
foreach (GridStackDefault::extendedSettings() as $key => $value) {
$options[$key] = [
'default' => $value,
];
}
return $options + parent::defineOptions();
}