You are here

function _photos_node_title in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 photos.module \_photos_node_title()

Photos - return node title.

File

./photos.module, line 2289
Implementation of photos.module.

Code

function _photos_node_title($nid) {
  return db_query('SELECT title FROM {node} WHERE nid = :nid', array(
    ':nid' => $nid,
  ))
    ->fetchField();
}