You are here

protected function Bean::setPlugin in Bean (for Drupal 7) 7

Load and set the plugin info. This can be called externally via loadUP()

File

includes/bean.core.inc, line 222
Bean classes and plugin interface

Class

Bean
The Bean entity class

Code

protected function setPlugin($plugin) {
  $this->plugin = $plugin;
  return $this;
}