protected function Box::setUp in Boxes 7.2
Set up the object instance on construction or unserializiation.
Overrides Entity::setUp
File
- includes/
boxes.core.inc, line 176 - Box classes and plugin interface
Class
- Box
- The Box entity class
Code
protected function setUp() {
parent::setUp();
if (!empty($this->type)) {
$plugin = boxes_load_plugin_class($this->type);
$this
->loadUp($plugin);
}
}