You are here

features_test.features.user_permission.inc in Features 7.2

File

tests/features_test/features_test.features.user_permission.inc
View source
<?php

/**
 * @file
 * features_test.features.user_permission.inc
 */

/**
 * Implements hook_user_default_permissions().
 */
function features_test_user_default_permissions() {
  $permissions = array();

  // Exported permission: create features_test content.
  $permissions['create features_test content'] = array(
    'name' => 'create features_test content',
    'roles' => array(
      'anonymous user' => 'anonymous user',
      'authenticated user' => 'authenticated user',
    ),
    'module' => 'node',
  );
  return $permissions;
}

Functions

Namesort descending Description
features_test_user_default_permissions Implements hook_user_default_permissions().