function LinkCheckerInterfaceTest::getLinkCheckerLink in Link checker 7
Get linkchecker link by url.
Parameters
string $url: URL of the link to find.
Return value
object The link object.
2 calls to LinkCheckerInterfaceTest::getLinkCheckerLink()
File
- ./
linkchecker.test, line 583 - Test file for Link checker module.
Class
Code
function getLinkCheckerLink($url) {
return db_query('SELECT * FROM {linkchecker_link} WHERE urlhash = :urlhash', array(
':urlhash' => drupal_hash_base64($url),
))
->fetchObject();
}