You are here

protected function GridStackViews::defineOptions in GridStack 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/views/style/GridStackViews.php \Drupal\gridstack\Plugin\views\style\GridStackViews::defineOptions()

File

src/Plugin/views/style/GridStackViews.php, line 51

Class

GridStackViews
GridStack style plugin.

Namespace

Drupal\gridstack\Plugin\views\style

Code

protected function defineOptions() {
  $options = [
    'stamp' => [
      'default' => '',
    ],
  ];
  foreach (GridStackDefault::extendedSettings() as $key => $value) {
    $options[$key] = [
      'default' => $value,
    ];
  }
  return $options + parent::defineOptions();
}