Skip to content
Snippets Groups Projects
Commit 5028880d authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2058157 by kiamlaluno: Fix example in docs for SystemListing

parent 05d5168a
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -36,7 +36,7 @@ function __construct($profiles = array()) {
* instance, if you are looking for modules and call:
* @code
* $scanner = new SystemListing();
* $all_profiles = $profiles_scanner->scan('/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.profile$/', 'profiles');
* $all_modules = $scanner->scan('/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.module$/', 'modules');
* @endcode
* this function will search:
* - the core modules directory; i.e., /core/modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment