function serial_field_attach_rename_bundle in Serial Field 7
Implements hook_field_attach_rename_bundle().
File
- ./
serial.module, line 123 - The Serial module main file.
Code
function serial_field_attach_rename_bundle($entity_type, $bundle_old, $bundle_new) {
if ($bundle_old !== $bundle_new) {
module_load_include('inc', 'serial');
_serial_rename_tables($entity_type, $bundle_old, $bundle_new);
}
}