public function Bean::getInfo in Bean (for Drupal 7) 7
Get Plugin info
Parameters
$key: The plugin key to get the info for.
Return value
array|null
1 call to Bean::getInfo()
- Bean::typeName in includes/
bean.core.inc - Type name
File
- includes/
bean.core.inc, line 170 - Bean classes and plugin interface
Class
- Bean
- The Bean entity class
Code
public function getInfo($key = NULL) {
if ($this->plugin instanceof BeanTypePluginInterface) {
return $this->plugin
->getInfo($key);
}
return NULL;
}