You are here

public function BlazyViewsFieldPluginBase::getDefaultValues in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::getDefaultValues()
  2. 7 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::getDefaultValues()

Defines the default values.

3 calls to BlazyViewsFieldPluginBase::getDefaultValues()
BlazyViewsFieldPluginBase::buildOptionsForm in src/Plugin/views/field/BlazyViewsFieldPluginBase.php
Default options form that provides the label widget that all fields should have.
BlazyViewsFieldPluginBase::defineOptions in src/Plugin/views/field/BlazyViewsFieldPluginBase.php
Information about options for all kinds of purposes will be held here.
BlazyViewsFieldPluginBase::mergedViewsSettings in src/Plugin/views/field/BlazyViewsFieldPluginBase.php
Merges the settings.

File

src/Plugin/views/field/BlazyViewsFieldPluginBase.php, line 111

Class

BlazyViewsFieldPluginBase
Defines a base views field plugin to render a preview of supported fields.

Namespace

Drupal\blazy\Plugin\views\field

Code

public function getDefaultValues() {
  return [
    'box_style' => '',
    'box_media_style' => '',
    'image_style' => '',
    'media_switch' => 'media',
    'ratio' => 'fluid',
    'thumbnail_style' => '',
    'view_mode' => 'default',
  ];
}