You are here

public static function GridStackDefault::textElements in GridStack 8.2

Returns color settings.

4 calls to GridStackDefault::textElements()
Color::getTextColor in src/Plugin/gridstack/stylizer/Color.php
Returns the text colors grouped by the given key.
GridStackDefault::colorElements in src/GridStackDefault.php
Returns color settings.
GridStackDefault::styleElements in src/GridStackDefault.php
Returns style settings.
StyleBase::styleElement in src/Plugin/gridstack/stylizer/StyleBase.php
Return the style element.

File

src/GridStackDefault.php, line 189

Class

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

Namespace

Drupal\gridstack

Code

public static function textElements() {
  return [
    'text',
    'a',
    'a:hover',
    'h2',
    'h3',
  ];
}