added user export page for simplenews unsubscription

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-26 18:42:45 +02:00
parent 09d1f06552
commit 4c32c73321
2 changed files with 39 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ function materio_user_permission() {
'title' => t('access to online payment'),
'description' => t('Access to online payment'),
),
'access to user export' => array(
'title' => t('access to user export'),
'description' => t('Access to user export'),
),
);
$simplenews_cats = simplenews_category_list();
@@ -73,6 +77,13 @@ function materio_user_menu(){
'access callback' => TRUE,
);
$items['materio_user/export'] = $base+array(
'title' => 'Materio base user export',
'page callback' => 'materio_user_export',
// 'page arguments' => array(),
'access arguments' => array('access to user export'),
);
return $items;
}