You are here

public static function EntityReferencePathFormatter::defaultSettings in REST Views 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldFormatter/EntityReferencePathFormatter.php \Drupal\rest_views\Plugin\Field\FieldFormatter\EntityReferencePathFormatter::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides LinkFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/EntityReferencePathFormatter.php, line 44

Class

EntityReferencePathFormatter
Plugin implementation of the 'entity_path' formatter.

Namespace

Drupal\rest_views\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() : array {
  return [];
}