39 lines
701 B
PHP
39 lines
701 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* materio_subscriptions.features.user_role.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_user_default_roles().
|
|
*/
|
|
function materio_subscriptions_user_default_roles() {
|
|
$roles = array();
|
|
|
|
// Exported role: Adhérent.
|
|
$roles['Adhérent'] = array(
|
|
'name' => 'Adhérent',
|
|
'weight' => 6,
|
|
);
|
|
|
|
// Exported role: Premium.
|
|
$roles['Premium'] = array(
|
|
'name' => 'Premium',
|
|
'weight' => 7,
|
|
);
|
|
|
|
// Exported role: Utilisateur.
|
|
$roles['Utilisateur'] = array(
|
|
'name' => 'Utilisateur',
|
|
'weight' => 3,
|
|
);
|
|
|
|
// Exported role: Utilisateur test UC.
|
|
$roles['Utilisateur test UC'] = array(
|
|
'name' => 'Utilisateur test UC',
|
|
'weight' => 4,
|
|
);
|
|
|
|
return $roles;
|
|
}
|