function DummyAjaxFormatter::settingsSummary

Same name in other branches
  1. 9 core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldFormatter/DummyAjaxFormatter.php \Drupal\image_module_test\Plugin\Field\FieldFormatter\DummyAjaxFormatter::settingsSummary()
  2. 8.9.x core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldFormatter/DummyAjaxFormatter.php \Drupal\image_module_test\Plugin\Field\FieldFormatter\DummyAjaxFormatter::settingsSummary()
  3. 11.x core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldFormatter/DummyAjaxFormatter.php \Drupal\image_module_test\Plugin\Field\FieldFormatter\DummyAjaxFormatter::settingsSummary()

Overrides FormatterBase::settingsSummary

File

core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldFormatter/DummyAjaxFormatter.php, line 25

Class

DummyAjaxFormatter
Empty renderer for a dummy field with an AJAX handler.

Namespace

Drupal\image_module_test\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
    $summary = [];
    $summary[] = $this->t('Renders nothing');
    return $summary;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.