You are here

faq_expert.features.user_role.inc in Frequently Asked Questions 7.2

File

faq_expert/faq_expert.features.user_role.inc
View source
<?php

/**
 * @file
 * faq_expert.features.user_role.inc
 */

/**
 * Implements hook_user_default_roles().
 */
function faq_expert_user_default_roles() {
  $roles = array();

  // Exported role: expert.
  $roles['expert'] = array(
    'name' => 'expert',
    'weight' => 2,
  );
  return $roles;
}

Functions

Namesort descending Description
faq_expert_user_default_roles Implements hook_user_default_roles().