public static function FileMetadataPluginBase::defaultConfiguration in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/FileMetadata/FileMetadataPluginBase.php \Drupal\file_mdm\Plugin\FileMetadata\FileMetadataPluginBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FileMetadataPluginInterface::defaultConfiguration
File
- src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php, line 123
Class
- FileMetadataPluginBase
- Abstract implementation of a base File Metadata plugin.
Namespace
Drupal\file_mdm\Plugin\FileMetadataCode
public static function defaultConfiguration() {
return [
'cache' => [
'override' => FALSE,
'settings' => [
'enabled' => TRUE,
'expiration' => 172800,
'disallowed_paths' => [],
],
],
];
}