You are here

public function DsFieldBase::formatters in Display Suite 8.2

Same name and namespace in other branches
  1. 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::formatters()
  2. 8.3 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::formatters()

Returns a list of possible formatters for this field.

Return value

array A list of possible formatters.

Overrides DsFieldInterface::formatters

4 methods override DsFieldBase::formatters()
Date::formatters in src/Plugin/DsField/Date.php
Returns a list of possible formatters for this field.
DynamicCopyField::formatters in src/Plugin/DsField/DynamicCopyField.php
Returns a list of possible formatters for this field.
ExampleField::formatters in drush/ExampleField.php
Returns a list of possible formatters for this field.
NodeAuthor::formatters in src/Plugin/DsField/Node/NodeAuthor.php
Returns a list of possible formatters for this field.

File

src/Plugin/DsField/DsFieldBase.php, line 79

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function formatters() {
  return array();
}