1 taxonomy.module taxonomy_autocomplete_access()

Access callback for the taxonomy 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/taxonomy/taxonomy.module, line 1889
Enables the organization of content into categories.

Code

function taxonomy_autocomplete_access() {
  return user_access('access content') && backdrop_valid_autocomplete_token();
}