You are here

public function BoxPlugin::getInfo in Boxes 7.2

Get Plugin info

Overrides BoxTypePluginInterface::getInfo

3 calls to BoxPlugin::getInfo()
BoxPlugin::getDescription in plugins/base.inc
Get the description
BoxPlugin::getLabel in plugins/base.inc
Get the label
BoxPlugin::isEditable in plugins/base.inc
Is the box type editable

File

plugins/base.inc, line 15
Base Plugin Class

Class

BoxPlugin
@file Base Plugin Class

Code

public function getInfo($key = NULL) {
  if (!empty($key) && isset($this->plugin_info[$key])) {
    return $this->plugin_info[$key];
  }
  return $this->plugin_info;
}