public function MediaBrowserPluginInterface::__construct in D7 Media 7.4
Same name and namespace in other branches
- 7.2 includes/MediaBrowserPluginInterface.inc \MediaBrowserPluginInterface::__construct()
- 7.3 includes/MediaBrowserPluginInterface.inc \MediaBrowserPluginInterface::__construct()
Set up the plugin class.
Parameters
array $info: An array of plugin info from hook_media_browser_plugin_info() implementations.
array $params: An array of parameters which came in is $_GET['params']. The expected parameters are still being defined.
- 'types': array of media types to support
- 'multiselect': boolean; TRUE enables multiselect.
1 method overrides MediaBrowserPluginInterface::__construct()
- MediaBrowserPlugin::__construct in includes/
MediaBrowserPlugin.inc - Implements MediaBrowserPluginInterface::__construct().
File
- includes/
MediaBrowserPluginInterface.inc, line 28 - Definition of MediaBrowserPluginInterface.
Class
- MediaBrowserPluginInterface
- Defines a Media browser plugin.
Code
public function __construct($info, $params);