You are here

public function BlazyEntityReferenceBase::buildSettings in Blazy 7

Builds the settings.

Overrides FormatterBase::buildSettings

File

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

Class

BlazyEntityReferenceBase
Base class for entity reference formatters with field details.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function buildSettings() {
  return [
    'blazy' => TRUE,
    'ratio' => 'fluid',
  ] + parent::buildSettings();
}