public function ResourceFieldEnhancerBase::getConfiguration in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::getConfiguration()
- 8.2 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::getConfiguration()
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ConfigurablePluginInterface::getConfiguration
6 calls to ResourceFieldEnhancerBase::getConfiguration()
- DateTimeEnhancer::postProcess in src/
Plugin/ jsonapi/ FieldEnhancer/ DateTimeEnhancer.php - Apply the last transformations to the output value of a single field.
- DateTimeEnhancerBase::getSettingsForm in src/
Plugin/ DateTimeEnhancerBase.php - Get a form element to render the settings.
- DateTimeFromStringEnhancer::postProcess in src/
Plugin/ jsonapi/ FieldEnhancer/ DateTimeFromStringEnhancer.php - Apply the last transformations to the output value of a single field.
- SingleNestedEnhancer::getSettingsForm in src/
Plugin/ jsonapi/ FieldEnhancer/ SingleNestedEnhancer.php - Get a form element to render the settings.
- SingleNestedEnhancer::postProcess in src/
Plugin/ jsonapi/ FieldEnhancer/ SingleNestedEnhancer.php - Apply the last transformations to the output value of a single field.
File
- src/
Plugin/ ResourceFieldEnhancerBase.php, line 44
Class
- ResourceFieldEnhancerBase
- Common base class for resourceFieldEnhancer plugins.
Namespace
Drupal\jsonapi_extras\PluginCode
public function getConfiguration() {
return $this->configuration ? $this->configuration : $this
->setConfiguration([]);
}