Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

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
 */

Also available in: Unified diff