You are here

public static function GridStackDefault::imageSettings in GridStack 8.2

Same name and namespace in other branches
  1. 8 src/GridStackDefault.php \Drupal\gridstack\GridStackDefault::imageSettings()
4 calls to GridStackDefault::imageSettings()
GridStackDefault::extendedSettings in src/GridStackDefault.php
GridStackDefault::htmlSettings in src/GridStackDefault.php
Returns HTML or layout related settings, none of JS to shutup notices.
GridStackFileFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/GridStackFileFormatterBase.php
GridStackManagerTest::testBuild in tests/src/Kernel/GridStackManagerTest.php
Tests for GridStack build.

File

src/GridStackDefault.php, line 80

Class

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

Namespace

Drupal\gridstack

Code

public static function imageSettings() {
  return [
    'background' => TRUE,
    'category' => '',
    'stamp' => '',
    'stamp_index' => 0,
  ] + parent::imageSettings() + self::baseSettings();
}