You are here

public function BlazyFileFormatter::getRequiredForms in Blazy 7

Returns required form elements for the current formatter.

Overrides BlazyFormatterBase::getRequiredForms

File

src/Plugin/Field/FieldFormatter/BlazyFileFormatter.php, line 35

Class

BlazyFileFormatter
Plugin implementation of the 'Blazy File' to get videos within images/files.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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