public function DateTimeEnhancerBase::defaultConfiguration in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/DateTimeEnhancerBase.php \Drupal\jsonapi_extras\Plugin\DateTimeEnhancerBase::defaultConfiguration()
- 8 src/Plugin/DateTimeEnhancerBase.php \Drupal\jsonapi_extras\Plugin\DateTimeEnhancerBase::defaultConfiguration()
Overrides ResourceFieldEnhancerBase::defaultConfiguration
File
- src/
Plugin/ DateTimeEnhancerBase.php, line 13
Class
- DateTimeEnhancerBase
- Base class for date and time based resourceFieldEnhancer plugins.
Namespace
Drupal\jsonapi_extras\PluginCode
public function defaultConfiguration() {
return [
'dateTimeFormat' => \DateTime::ISO8601,
];
}