You are here

public static function BlazyDefault::gridSettings in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::gridSettings()
  2. 7 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::gridSettings()

Returns optional grid field formatter and Views settings.

6 calls to BlazyDefault::gridSettings()
Blazy::configSchemaInfoAlter in src/Blazy.php
Implements hook_config_schema_info_alter().
BlazyAdminFormatterUnitTest::testGetSettingsSummary in tests/src/Unit/Form/BlazyAdminFormatterUnitTest.php
Tests the Blazy admin ::getSettingsSummary().
BlazyFileFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/BlazyFileFormatterBase.php
Defines the default settings for this plugin.
BlazyTestEntityReferenceFormatterTest::defaultSettings in tests/modules/blazy_test/src/Plugin/Field/FieldFormatter/BlazyTestEntityReferenceFormatterTest.php
Defines the default settings for this plugin.
BlazyViews::defineOptions in src/Plugin/views/style/BlazyViews.php
Information about options for all kinds of purposes will be held here.

... See full list

File

src/BlazyDefault.php, line 141

Class

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

Namespace

Drupal\blazy

Code

public static function gridSettings() {
  return [
    'grid' => 0,
    'grid_header' => '',
    'grid_medium' => 0,
    'grid_small' => 0,
    'style' => '',
  ];
}