You are here

public function BlazyEntityReferenceBase::getRequiredForms in Blazy 7

Returns required form elements for the current formatter.

Overrides BlazyFormatterBase::getRequiredForms

File

src/Plugin/Field/FieldFormatter/BlazyEntityReferenceBase.php, line 55

Class

BlazyEntityReferenceBase
Base class for entity reference formatters with field details.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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