Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/search/search.api.php
30 30
 *
31 31
 * @return
32 32
 *   Array with optional keys:
33
 *   - title: Title for the tab on the search page for this module. Defaults
34
 *     to the module name if not given.
33
 *   - title: Title for the tab on the search page for this module. Title must
34
 *     be untranslated. Outside of this return array, pass the title through the
35
 *     t() function to register it as a translatable string.
35 36
 *   - path: Path component after 'search/' for searching with this module.
36 37
 *     Defaults to the module name if not given.
37 38
 *   - conditions_callback: An implementation of callback_search_conditions().
......
39 40
 * @ingroup search
40 41
 */
41 42
function hook_search_info() {
43
  // Make the title translatable.
44
  t('Content');
45

  
42 46
  return array(
43 47
    'title' => 'Content',
44 48
    'path' => 'node',

Also available in: Unified diff