You are here

function _linkchecker_user_access_edit_link_settings in Link checker 7

Same name and namespace in other branches
  1. 6.2 linkchecker.module \_linkchecker_user_access_edit_link_settings()

Access callback for linkchecker/%linkchecker_link/edit.

Parameters

object $link: An object representing the link to check.

Return value

bool TRUE if the current user has the requested permission.

1 string reference to '_linkchecker_user_access_edit_link_settings'
linkchecker_menu in ./linkchecker.module
Implements hook_menu().

File

./linkchecker.module, line 217
This module periodically check links in given node types, blocks etc.

Code

function _linkchecker_user_access_edit_link_settings($link) {
  return user_access('edit link settings') && _linkchecker_link_access($link);
}