You are here

public function BlazyEntityBase::getScopedFormElements in Blazy 7

Defines the scope for the form elements.

Overrides BlazyFormatterBase::getScopedFormElements

1 call to BlazyEntityBase::getScopedFormElements()
BlazyEntityReferenceBase::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyEntityReferenceBase.php
Defines the scope for the form elements.
1 method overrides BlazyEntityBase::getScopedFormElements()
BlazyEntityReferenceBase::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyEntityReferenceBase.php
Defines the scope for the form elements.

File

src/Plugin/Field/FieldFormatter/BlazyEntityBase.php, line 110

Class

BlazyEntityBase
Base class for entity reference formatters without field details.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'use_view_mode' => TRUE,
  ] + parent::getScopedFormElements();
}