1 drupal.inc drupal_html_id($id)

Prepares a string for use as a valid HTML ID and guarantees uniqueness.

Deprecated

since 1.0.0

See also

backdrop_html_id()

Related topics

File

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

Code

function drupal_html_id($id) {
  return backdrop_html_id($id);
}