You are here

public static function GridStackDefault::mainWrapperOptions in GridStack 8.2

Returns the main wrapper Layout Builder select options.

2 calls to GridStackDefault::mainWrapperOptions()
GridStackDefault::regionWrapperOptions in src/GridStackDefault.php
Returns wrapper Layout Builder select options.
Wrapper::wrapperElement in src/Plugin/gridstack/stylizer/Wrapper.php

File

src/GridStackDefault.php, line 240

Class

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

Namespace

Drupal\gridstack

Code

public static function mainWrapperOptions() {
  return [
    'article' => 'Article',
    'aside' => 'Aside',
    'main' => 'Main',
    'footer' => 'Footer',
    'section' => 'Section',
  ];
}