Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Basically the same as the list found in admin config, but publicly available as a function so other modules can very easily take advantage of them.
Comments
Comment #1
ruplWe created a function that provides this data as part of #1935826: Should Modernizr complain via hook_requirements() when required tests cannot be found?
Comment #2
ruplJust for posterity, there are actually two functions:
modernizr_info_current_build()
lists all the tests in the current Modernizr JS libmodernizr_info_missing_tests()
lists all the tests which are registered in the Test API but missing from the current Modernizr JS lib.