function pm_permission_migrate_execute in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 includes/pm.permission.migrate.inc \pm_permission_migrate_execute()
Helper function to migrate permission defined by submodules.
9 calls to pm_permission_migrate_execute()
- pmexpense_migrate in pmexpense/
includes/ pmexpense.migrate.inc - Helper function for migrating between pmexpense to drupal fields.
- pmnote_migrate in pmnote/
includes/ pmnote.migrate.inc - Helper function for migrating between pmnote to drupal fields.
- pmorganization_migrate in pmorganization/
includes/ pmorganization.migrate.inc - Helper function for migrating between pmorganization to drupal fields.
- pmperson_migrate in pmperson/
includes/ pmperson.migrate.inc - Helper function for migrating between PM Person nodes and Drupal users.
- pmproject_migrate in pmproject/
includes/ pmproject.migrate.inc - Helper function for migrating between pmproject to drupal fields.
File
- includes/
pm.permission.migrate.inc, line 170 - Migration functions for the PM Permission module.
Code
function pm_permission_migrate_execute($module_name) {
// Enable Permission to be defined by pmpermission.
pm_permission_migrate_enable_permissions($module_name);
// Handover legacy permission to pmpermission based implementations.
pm_permission_migrate_legacy_permissions($module_name);
}