Projet

Général

Profil

Révision 3dfa8105

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ds/modules/ds_ui/ds_ui.module
145 145
    'access arguments' => array('admin_fields'),
146 146
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
147 147
  );
148
  // Block can be disabled.
149
  if (module_exists('block')) {
150
    $items['admin/structure/ds/fields/manage_block'] = array(
151
      'title' => 'Add a block field',
152
      'description' => 'Manage a block field',
153
      'page callback' => 'drupal_get_form',
154
      'page arguments' => array('ds_edit_block_field_form'),
155
      'file' => 'includes/ds.fields.inc',
156
      'access arguments' => array('admin_fields'),
157
      'type' => MENU_LOCAL_ACTION,
158
      'weight' => 2,
159
    );
160
  }
148
  $items['admin/structure/ds/fields/manage_block'] = array(
149
    'title' => 'Add a block field',
150
    'description' => 'Manage a block field',
151
    'page callback' => 'drupal_get_form',
152
    'page arguments' => array('ds_edit_block_field_form'),
153
    'file' => 'includes/ds.fields.inc',
154
    'access arguments' => array('admin_fields'),
155
    'type' => MENU_LOCAL_ACTION,
156
    'weight' => 2,
157
  );
161 158

  
162 159
  // CTools Modal add field.
163 160
  $items['admin/structure/ds/%ctools_js/add_field/%'] = array(

Formats disponibles : Unified diff