function hook_bundle_copy_info in Bundle Copy 7
Same name and namespace in other branches
- 7.2 bundle_copy.api.php \hook_bundle_copy_info()
 
Implements hook_bundle_copy_info().
Return info for bundle copy. The first key is the name of the entity_type.
1 function implements hook_bundle_copy_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- bundle_copy_bundle_copy_info in ./
bundle_copy.module  - Implements hook_bundle_copy_info().
 
1 invocation of hook_bundle_copy_info()
- bundle_copy_get_info in ./
bundle_copy.module  - Api function to get the bundle copy info.
 
File
- ./
bundle_copy.api.php, line 19  - Hooks provided by Bundle copy.
 
Code
function hook_bundle_copy_info() {
  return array(
    'node' => array(
      'bundle_export_callback' => 'node_type_get_type',
      'bundle_save_callback' => 'node_type_save',
      'export_menu' => array(
        'path' => 'admin/structure/types/export',
        'access arguments' => 'administer content types',
      ),
      'import_menu' => array(
        'path' => 'admin/structure/types/import',
        'access arguments' => 'administer content types',
      ),
    ),
  );
}