function flysystem_get_plugin_definition in Flysystem 7
Returns a plugin definition.
Parameters
string $id: The plugin id.
Return value
array|false The plugin definition or false.
1 call to flysystem_get_plugin_definition()
- flysystem_get_plugin in ./
flysystem.module - Returns a plugin instance.
File
- ./
flysystem.module, line 217 - Provides access to various filesystem backends using Flysystem.
Code
function flysystem_get_plugin_definition($id) {
$plugins = flysystem_get_plugin_definitions();
return isset($plugins[$id]) ? $plugins[$id] : FALSE;
}