upload_node_search_result

Versions
7
upload_node_search_result($node)

Implement hook_node_search_result().

Code

modules/upload/upload.module, line 427

<?php
function upload_node_search_result($node) {
  return isset($node->files) && is_array($node->files) ? format_plural(count($node->files), '1 attachment', '@count attachments') : NULL;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.