From 5028880dfc618af6e2049ab34de0a872cdd7d43b Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 13 Aug 2013 07:46:40 -0700 Subject: [PATCH] Issue #2058157 by kiamlaluno: Fix example in docs for SystemListing --- core/lib/Drupal/Core/SystemListing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/SystemListing.php b/core/lib/Drupal/Core/SystemListing.php index d627505852d..c5db0aa3236 100644 --- a/core/lib/Drupal/Core/SystemListing.php +++ b/core/lib/Drupal/Core/SystemListing.php @@ -36,7 +36,7 @@ class SystemListing { * 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