public function BeanPlugin::__construct in Bean (for Drupal 7) 7
Constructor
Plugin info should be called using bean_fetch_plugin_info().
@abstract
Parameters
$plugin_info array of information from the ctools plugin.:
Overrides BeanTypePluginInterface::__construct
File
- plugins/
BeanPlugin.class.php, line 44 - Base Plugin Class
Class
- BeanPlugin
- @file Base Plugin Class
Code
public function __construct($plugin_info) {
$this->plugin_info = $plugin_info;
$this->type = $plugin_info['name'];
}