summaryrefslogtreecommitdiffstats
path: root/panels_mini/plugins/export_ui/panels_mini.inc
blob: 46cb894716419351db1494289aebdeb4030392a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php

$plugin = array(
  'schema' => 'panels_mini',
  'access' => 'administer mini panels',
  'create access' => 'create mini panels',

  'menu' => array(
    'menu item' => 'mini-panels',
    'menu title' => 'Mini panels',
    'menu description' => 'Add, edit or delete mini panels, which can be used as blocks or content panes in other panels.',
  ),

  'title singular' => t('mini panel'),
  'title singular proper' => t('Mini panel'),
  'title plural' => t('mini panels'),
  'title plural proper' => t('Mini panels'),

  'handler' => array(
    'class' => 'panels_mini_ui',
    'parent' => 'ctools_export_ui',
  ),

  'use wizard' => TRUE,
  'form info' => array(
    'order' => array(
      'basic' => t('Settings'),
      'context' => t('Context'),
      'layout' => t('Layout'),
      'content' => t('Content'),
    ),
    // We have to add this form specially because it's invisible.
    'forms' => array(
      'move' => array(
        'form id' => 'ctools_export_ui_edit_item_wizard_form',
      ),
    ),
  ),

);