function wordpress_migrate_permission in WordPress Migrate 7
Same name and namespace in other branches
- 7.2 wordpress_migrate.module \wordpress_migrate_permission()
Implements hook_permission().
File
- ./
wordpress_migrate.module, line 15 - API and drush commands to support migration of data from WordPress into a Drupal installation.
Code
function wordpress_migrate_permission() {
return array(
WORDPRESS_MIGRATE_ACCESS_MIGRATE => array(
'title' => t('Migrate WordPress blogs into Drupal'),
),
WORDPRESS_MIGRATE_ACCESS_CONFIGURE => array(
'title' => t('Configure migration of WordPress blogs'),
),
);
}