You are here

protected function Classes::getPresetOptions in GridStack 8.2

1 call to Classes::getPresetOptions()
Classes::classesElement in src/Plugin/gridstack/stylizer/Classes.php

File

src/Plugin/gridstack/stylizer/Classes.php, line 222

Class

Classes
Provides the classes styles.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

protected function getPresetOptions(array $data) {
  $rm = [
    'bg-',
    'gradient-',
    'padding-',
    'mh-',
    'text-',
    'hidden-',
    'rounded-',
    'visible-',
  ];
  return $this
    ->getBasePresetOptions($data, $rm, 'gridstack_classes_preset_options');
}