function admin_menu_links_search

cis7 admin_menu.inc admin_menu_links_search()
cle7 admin_menu.inc admin_menu_links_search()
elmsmedia7 admin_menu.inc admin_menu_links_search()
icor7 admin_menu.inc admin_menu_links_search()
meedjum_blog7 admin_menu.inc admin_menu_links_search()
mooc7 admin_menu.inc admin_menu_links_search()

Build search widget.

See also

theme_admin_menu_links()

1 call to admin_menu_links_search()
admin_menu_output in sites/all/modules/ulmus/admin_menu/admin_menu.module
Build the administration menu output.

File

sites/all/modules/ulmus/admin_menu/admin_menu.inc, line 595
Menu builder functions for Administration menu.

Code

function admin_menu_links_search() {
  $links = array(
    '#theme' => 'admin_menu_links',
    '#wrapper_attributes' => array('id' => 'admin-menu-search'),
    '#weight' => 180,
  );
  $links['search'] = array(
    '#type' => 'textfield',
    '#title' => t('Search'),
    '#title_display' => 'attribute',
    '#attributes' => array(
      'placeholder' => t('Search'),
      'class' => array('admin-menu-search'),
    ),
  );
  return $links;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.