You are here

public static function BlazyDefault::gridSettings in Blazy 8.2

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

Returns optional grid field formatter and Views settings.

10 calls to BlazyDefault::gridSettings()
BlazyAdminFormatterUnitTest::testGetSettingsSummary in tests/src/Unit/Form/BlazyAdminFormatterUnitTest.php
Tests the Blazy admin ::getSettingsSummary().
BlazyAlter::configSchemaInfoAlter in src/BlazyAlter.php
Implements hook_config_schema_info_alter().
BlazyEntityReferenceBase::defaultSettings in src/Dejavu/BlazyEntityReferenceBase.php
Defines the default settings for this plugin.
BlazyFileFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/BlazyFileFormatterBase.php
Defines the default settings for this plugin.
BlazyMediaFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/BlazyMediaFormatterBase.php
Defines the default settings for this plugin.

... See full list

File

src/BlazyDefault.php, line 151

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,
  ] + self::anywhereSettings();
}