You are here

public static function GridStackDefault::themeProperties in GridStack 8.2

Returns theme properties.

2 calls to GridStackDefault::themeProperties()
GridStackManager::build in src/GridStackManager.php
Returns a cacheable renderable array of a single gridstack instance.
template_preprocess_gridstack in templates/gridstack.theme.inc
Prepares variables for gridstack.html.twig templates.

File

src/GridStackDefault.php, line 330

Class

GridStackDefault
Defines shared plugin default settings for field formatter and Views style.

Namespace

Drupal\gridstack

Code

public static function themeProperties() {
  return [
    'items',
    'optionset',
    'aside',
    'bottom',
    'preface',
    'postscript',
    'settings',
    'content_attributes',
    'wrapper_attributes',
  ];
}