You are here

features_test.features.user_permission.inc in Features 6

Same filename and directory in other branches
  1. 7 tests/features_test.features.user_permission.inc

File

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

/**
 * Implementation of 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(
      '0' => 'anonymous user',
      '1' => 'authenticated user',
    ),
  );
  return $permissions;
}

Functions

Namesort descending Description
features_test_user_default_permissions Implementation of hook_user_default_permissions().