You are here

public function FormatterBase::getRequiredForms in Blazy 7

Returns required form elements for the current formatter.

Overrides FormatterInterface::getRequiredForms

1 call to FormatterBase::getRequiredForms()
FormatterBase::getScopedFormElements in src/Plugin/Field/FieldFormatter/FormatterBase.php
Defines the scope for the form elements.
2 methods override FormatterBase::getRequiredForms()
BlazyFormatterBase::getRequiredForms in src/Plugin/Field/FieldFormatter/BlazyFormatterBase.php
Returns required form elements for the current formatter.
BlazyTextFormatter::getRequiredForms in src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php
Returns required form elements for the current formatter.

File

src/Plugin/Field/FieldFormatter/FormatterBase.php, line 268

Class

FormatterBase
Base class for blazy/slick image, and file formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function getRequiredForms() {
  return [];
}