1.20.x drupal.inc drupal_valid_token($token, $value = '', $skip_anonymous = FALSE)

Validates a token based on $value, the user session, and the private key.

Deprecated

since 1.0.0

See also

backdrop_valid_token()

Related topics

File

includes/drupal.inc, line 1151
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_valid_token($token, $value = '', $skip_anonymous = FALSE) {
  return backdrop_valid_token($token, $value, $skip_anonymous);
}