You are here

public static function BlazyDefault::uiSettings in Blazy 8

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

Returns shared global form settings which should be consumed at formatters.

2 calls to BlazyDefault::uiSettings()
BlazyDefault::itemSettings in src/BlazyDefault.php
Returns sensible default html settings to shutup notices when lacking.
BlazyManagerBase::getCommonSettings in src/BlazyManagerBase.php
Returns the common settings inherited down to each item.

File

src/BlazyDefault.php, line 178

Class

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

Namespace

Drupal\blazy

Code

public static function uiSettings() {
  return [
    'one_pixel' => TRUE,
    'responsive_image' => FALSE,
    'theme_hook_image' => 'blazy',
  ];
}