| 1 system.module | path_autocomplete_access() |
Access callback for the path autocomplete menu item.
Return value
bool: TRUE if the current user may access content and the request has a valid autocomplete token.
See also
backdrop_valid_autocomplete_token()
File
- core/
modules/ system/ system.module, line 4405 - Configuration system that lets administrators modify the workings of the site.
Code
function path_autocomplete_access() {
return user_access('access content') && backdrop_valid_autocomplete_token();
}