You are here

function _bc_copy_taxonomy_load in Bundle Copy 7

Same name and namespace in other branches
  1. 7.2 bundle_copy.module \_bc_copy_taxonomy_load()

Helper function to load the taxonomy, but remove the vid on the object.

Parameters

$name: The name of the bundle.

1 string reference to '_bc_copy_taxonomy_load'
bundle_copy_bundle_copy_info in ./bundle_copy.module
Implements hook_bundle_copy_info().

File

./bundle_copy.module, line 529
Bundle copy.

Code

function _bc_copy_taxonomy_load($name) {
  $bundle = taxonomy_vocabulary_machine_name_load($name);
  return $bundle;
}