You are here

public function Box::getInfo in Boxes 7.2

Get Plugin info

Parameters

$key: The plugin key to get the info for.

1 call to Box::getInfo()
Box::typeName in includes/boxes.core.inc
Type name

File

includes/boxes.core.inc, line 155
Box classes and plugin interface

Class

Box
The Box entity class

Code

public function getInfo($key = NULL) {
  if ($this->plugin instanceof BoxTypePluginInterface) {
    return $this->plugin
      ->getInfo($key);
  }
  return NULL;
}