You are here

public function ResourceFieldEnhancerBase::defaultConfiguration in JSON:API Extras 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::defaultConfiguration()
  2. 8.2 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

1 call to ResourceFieldEnhancerBase::defaultConfiguration()
ResourceFieldEnhancerBase::setConfiguration in src/Plugin/ResourceFieldEnhancerBase.php
Sets the configuration for this plugin instance.
2 methods override ResourceFieldEnhancerBase::defaultConfiguration()
DateTimeEnhancerBase::defaultConfiguration in src/Plugin/DateTimeEnhancerBase.php
Gets default configuration for this plugin.
SingleNestedEnhancer::defaultConfiguration in src/Plugin/jsonapi/FieldEnhancer/SingleNestedEnhancer.php
Gets default configuration for this plugin.

File

src/Plugin/ResourceFieldEnhancerBase.php, line 29

Class

ResourceFieldEnhancerBase
Common base class for resourceFieldEnhancer plugins.

Namespace

Drupal\jsonapi_extras\Plugin

Code

public function defaultConfiguration() {
  return [];
}