You are here

public static function BlazyDefault::htmlSettings in Blazy 7

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

Returns sensible default container settings to shutup notices when lacking.

3 calls to BlazyDefault::htmlSettings()
BlazyDefault::itemSettings in src/BlazyDefault.php
Returns sensible default html settings to shutup notices when lacking.
BlazyGrid::build in src/BlazyGrid.php
Returns items wrapped by theme_item_list(), can be a grid, or plain list.
BlazyManager::prepareBuild in src/BlazyManager.php
Prepares Blazy outputs, extract items, and returns updated $settings.

File

src/BlazyDefault.php, line 173

Class

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

Namespace

Drupal\blazy

Code

public static function htmlSettings() {
  return [
    'blazy_data' => [],
    'lightbox' => FALSE,
    'namespace' => 'blazy',
    'id' => '',
  ] + self::imageSettings() + self::uiSettings();
}