function panelizer_update_7109 in Panelizer 7.3
Add the extra field so that modules can extend panelizer more easily.
File
- ./
panelizer.install, line 595 - Install, update and uninstall functions for the panelizer module.
Code
function panelizer_update_7109() {
$spec = array(
'type' => 'text',
'size' => 'big',
'description' => 'Contains extra data that can be added by modules.',
'serialize' => TRUE,
'object default' => array(),
);
db_add_field('panelizer_defaults', 'extra', $spec);
db_add_field('panelizer_entity', 'extra', $spec);
}