public static function FlysystemPluginBase::create in Flysystem 7
Creates a new plugin instance.
Parameters
array $configuration: The configuration array.
Return value
\Drupal\flysystem\Plugin\FlysystemPluginInterface A new plugin.
Overrides FlysystemPluginInterface::create
1 method overrides FlysystemPluginBase::create()
- Local::create in src/
Flysystem/ Local.php - Creates a new plugin instance.
File
- src/
Plugin/ FlysystemPluginBase.php, line 20 - Contains FlysystemPluginBase.
Class
- FlysystemPluginBase
- Base class for plugins.
Namespace
Drupal\flysystem\PluginCode
public static function create(array $configuration) {
return new static($configuration);
}