33 lines
563 B
PHP
33 lines
563 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' => '3',
|
|
);
|
|
|
|
// Exported role: Premium.
|
|
$roles['Premium'] = array(
|
|
'name' => 'Premium',
|
|
'weight' => '4',
|
|
);
|
|
|
|
// Exported role: Utilisateur.
|
|
$roles['Utilisateur'] = array(
|
|
'name' => 'Utilisateur',
|
|
'weight' => '2',
|
|
);
|
|
|
|
return $roles;
|
|
}
|