summaryrefslogtreecommitdiffstats
path: root/stylizer/plugins/export_ui/stylizer.inc
blob: a1fc1d8cab813903913b628eed37c27768a9bad6 (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
42
43
44
45
<?php

$plugin = array(
  'schema' => 'stylizer',
  'access' => 'administer stylizer',

  'menu' => array(
    'menu item' => 'stylizer',
    'menu title' => 'Stylizer',
    'menu description' => 'Add, edit or delete stylizer styles.',
  ),

  'title singular' => t('style'),
  'title singular proper' => t('Style'),
  'title plural' => t('styles'),
  'title plural proper' => t('Styles'),

  'handler' => array(
    'class' => 'stylizer_ui',
  ),

  'strings' => array(
    'message' => array(
      'missing base type' => t('There are currently no style types available to add. You should enable a module that utilizes them, such as Panels.'),
    ),
  ),

  'use wizard' => TRUE,
  'form info' => array(
    'add order' => array(
      'admin' => t('Administrative settings'),
      'type' => t('Select style type'),
      'choose' => t('Select base style'),
    ),
    'order' => array(
      'admin' => t('Administrative settings'),
    ),
    'forms' => array(
      'choose' => array(
        'form id' => 'ctools_stylizer_edit_style_form_choose',
      ),
    ),
  ),
);