You are here

public function BoxPlugin::__construct in Boxes 7.2

Constructor

Plugin info should be called using boxes_fetch_plugin_info().

@abstract

Parameters

$plugin_info array of information from the ctools plugin.:

Overrides BoxTypePluginInterface::__construct

File

plugins/base.inc, line 44
Base Plugin Class

Class

BoxPlugin
@file Base Plugin Class

Code

public function __construct($plugin_info) {
  $this->plugin_info = $plugin_info;
  $this->type = $plugin_info['name'];
}