You are here

function opigno_features_user_default_roles in Opigno 7.0

Implements hook_user_default_roles().

File

modules/opigno_features/opigno_features.features.user_role.inc, line 10
opigno_features.features.user_role.inc

Code

function opigno_features_user_default_roles() {
  $roles = array();

  // Exported role: student.
  $roles['student'] = array(
    'name' => 'student',
    'weight' => '4',
  );

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