You are here

public static function BlazyDefault::themeAttributes in Blazy 7

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

Returns blazy theme attributes.

2 calls to BlazyDefault::themeAttributes()
BlazyManager::prepareImage in src/BlazyManager.php
Prepares the Blazy image as a structured array ready for ::renderer().
template_preprocess_blazy in ./blazy.theme.inc
Prepares variables for theme_blazy().

File

src/BlazyDefault.php, line 231

Class

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

Namespace

Drupal\blazy

Code

public static function themeAttributes() {
  return [
    'caption',
    'item',
    'media',
    'url',
    'wrapper',
  ];
}