Projet

Général

Profil

Révision b0dc3a2e

Ajouté par Julien Enselme il y a plus de 7 ans

Update to Drupal 7.52

Voir les différences:

drupal7/modules/field/field.module
316 316
  }
317 317
}
318 318

  
319
/**
320
 * Implements hook_permission().
321
 */
322
function field_permission() {
323
  return array(
324
    'administer fields' => array(
325
      'title' => t('Administer fields'),
326
      'description' => t('Additional permissions are required based on what the fields are attached to (for example, <a href="@url">administer content types</a> to manage fields attached to content).', array(
327
        '@url' => '#module-node',
328
      )),
329
      'restrict access' => TRUE,
330
    ),
331
  );
332
}
333

  
319 334
/**
320 335
 * Implements hook_theme().
321 336
 */

Formats disponibles : Unified diff