1 drupal.inc drupal_map_assoc($array, $function = NULL)

Forms an associative array from a linear array.

Deprecated

since 1.0.0

See also

backdrop_map_assoc()

Related topics

File

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

Code

function drupal_map_assoc($array, $function = NULL) {
  return backdrop_map_assoc($array, $function);
}