You are here

public function BlazyViewsFieldPluginBase::getScopedFormElements in Blazy 7

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

Defines the scope for the form elements.

2 calls to BlazyViewsFieldPluginBase::getScopedFormElements()
BlazyViewsFieldFile::getScopedFormElements in src/Plugin/views/field/BlazyViewsFieldFile.php
Defines the scope for the form elements.
BlazyViewsFieldPluginBase::options_form in src/Plugin/views/field/BlazyViewsFieldPluginBase.php
Default options form provides the label widget that all fields should have.
1 method overrides BlazyViewsFieldPluginBase::getScopedFormElements()
BlazyViewsFieldFile::getScopedFormElements in src/Plugin/views/field/BlazyViewsFieldFile.php
Defines the scope for the form elements.

File

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

Class

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

Namespace

Drupal\blazy\Plugin\views\field

Code

public function getScopedFormElements() {
  return [
    'settings' => $this->options,
    'target_type' => 'file',
    'thumbnail_style' => TRUE,
  ];
}