function role_export_features_export_options in Role Export 6
Implements hook_features_export_options().
File
- ./
role_export.module, line 199 - Role Export's primary module file.
Code
function role_export_features_export_options() {
$roles = role_export_roles();
$options = array();
foreach ($roles as $rid => $role) {
$options[$role->machine_name] = $role->name;
}
asort($options);
return $options;
}