You are here

function modernizr_load_list in Modernizr 8

Same name and namespace in other branches
  1. 7.3 modernizr.module \modernizr_load_list()

Asks other Drupal modules for Modernizr.load() commands.

Return value

array

1 call to modernizr_load_list()
_modernizr_load_generate in ./modernizr.module
Helper function to render the Modernizr.load() calls.

File

./modernizr.module, line 676
Main module file for Modernizr

Code

function modernizr_load_list($reset = FALSE) {
  $load =& drupal_static(__FUNCTION__);
  if (!isset($load) || $reset) {
    $load = module_invoke_all('modernizr_load');
    drupal_alter('modernizr_load', $load);
  }
  return $load;
}