summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-08-13 14:46:40 (GMT)
committerJennifer Hodgdon2013-08-13 14:46:40 (GMT)
commit5028880dfc618af6e2049ab34de0a872cdd7d43b (patch)
treeef116fff544a7514b74bfcd2a523e03af92358f5
parent05d5168a5c5bdba27be0ca81507b26c8bc1e879f (diff)
Issue #2058157 by kiamlaluno: Fix example in docs for SystemListing
-rw-r--r--core/lib/Drupal/Core/SystemListing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/SystemListing.php b/core/lib/Drupal/Core/SystemListing.php
index d627505..c5db0aa 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