public function BlazyViewsFieldPluginBase::getDefaultValues in Blazy 7
Same name and namespace in other branches
- 8.2 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::getDefaultValues()
- 8 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::getDefaultValues()
Defines the default values.
3 calls to BlazyViewsFieldPluginBase::getDefaultValues()
- BlazyViewsFieldPluginBase::mergedViewsSettings in src/Plugin/ views/ field/ BlazyViewsFieldPluginBase.php 
- Merges the settings.
- BlazyViewsFieldPluginBase::options_form in src/Plugin/ views/ field/ BlazyViewsFieldPluginBase.php 
- Default options form provides the label widget that all fields should have.
- BlazyViewsFieldPluginBase::option_definition in src/Plugin/ views/ field/ BlazyViewsFieldPluginBase.php 
- Information about options for all kinds of purposes will be held here.
File
- src/Plugin/ views/ field/ BlazyViewsFieldPluginBase.php, line 95 
Class
- BlazyViewsFieldPluginBase
- Defines a base views field plugin to render a preview of supported fields.
Namespace
Drupal\blazy\Plugin\views\fieldCode
public function getDefaultValues() {
  return [
    'box_style' => '',
    'box_media_style' => '',
    'image_style' => '',
    'media_switch' => 'media',
    'ratio' => 'fluid',
    'thumbnail_style' => '',
    'view_mode' => 'default',
  ];
}