function _pmperson_migrate_node_get_title in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmperson/includes/pmperson.migrate.inc \_pmperson_migrate_node_get_title()
- 7.2 pmperson/includes/pmperson.migrate.inc \_pmperson_migrate_node_get_title()
A quick function to load node title without loading the whole node.
2 calls to _pmperson_migrate_node_get_title()
- pmperson_migrate_email_adjust_form in pmperson/
includes/ pmperson.migrate.inc - Form for resolving email conflicts.
- _pmperson_migrate_field_data in pmperson/
includes/ pmperson.migrate.inc - Helper function.
File
- pmperson/
includes/ pmperson.migrate.inc, line 595 - Migration functions for the PM Person module.
Code
function _pmperson_migrate_node_get_title($nid) {
return db_query('SELECT title FROM {node} WHERE nid = :nid', array(
':nid' => $nid,
))
->fetchField();
}