You are here

function finder_menu_allow_finder_tabs in Finder 6

Determine whether to show edit/delete tabs for finder.

See also

finder_menu()

1 call to finder_menu_allow_finder_tabs()
finder_menu_allow_finder_element_tabs in ./finder.module
Determine whether to show edit/delete tabs for finder element.
1 string reference to 'finder_menu_allow_finder_tabs'
finder_menu in ./finder.module
Implementation of hook_menu().

File

./finder.module, line 124
The finder module.

Code

function finder_menu_allow_finder_tabs($finder) {
  if (is_numeric(arg(3)) && !$finder->settings['programmatic']) {
    return user_access('administer finder');
  }
  return FALSE;
}