function migrate_term_image_get_tid in Taxonomy Image 5
2 calls to migrate_term_image_get_tid()
- list_node_image_terms in contributed/
update_term_images.php - migrate in contributed/
update_term_images.php
File
- contributed/
update_term_images.php, line 13
Code
function migrate_term_image_get_tid($name) {
if ($index = strpos($name, '_full')) {
return substr($name, 0, $index);
}
else {
return substr($name, 0, strpos($name, '_summ'));
}
}