You are here

function panelizer_update_7108 in Panelizer 7.3

Add the link_to_entity field

File

./panelizer.install, line 581
Install, update and uninstall functions for the panelizer module.

Code

function panelizer_update_7108() {
  $spec = array(
    'type' => 'int',
    'size' => 'tiny',
    'description' => 'Whether or not the title should link to the entity.',
    'default' => 1,
  );
  db_add_field('panelizer_defaults', 'link_to_entity', $spec);
  db_add_field('panelizer_entity', 'link_to_entity', $spec);
}