You are here

function fieldable_panels_panes_install in Fieldable Panels Panes (FPP) 7

Implements hook_install().

File

./fieldable_panels_panes.install, line 11
Fieldable Panels Panes install file.

Code

function fieldable_panels_panes_install() {

  // The included FPP type can be skipped.
  if (!variable_get('fieldable_panels_panes_skip_default_type', FALSE)) {
    ctools_include('export');
    $item = ctools_export_crud_new('fieldable_panels_pane_type');
    $item->name = 'fieldable_panels_pane';
    $item->title = t('Panels Pane');
    ctools_export_crud_save('fieldable_panels_pane_type', $item);
  }
}