1.7.x drupal.inc drupal_attributes(array $attributes = array())
1.10.x drupal.inc drupal_attributes(array $attributes = array())
1.8.x drupal.inc drupal_attributes(array $attributes = array())
1.9.x drupal.inc drupal_attributes(array $attributes = array())

Converts an associative array to an XML/HTML tag attribute string.

Deprecated

since 1.0.0

See also

backdrop_attributes()

Related topics

File

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

Code

function drupal_attributes(array $attributes = array()) {
  return backdrop_attributes($attributes);
}