src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 500-510 (lines=11) @@
|
| 497 |
|
/** |
| 498 |
|
* {@inheritdoc} |
| 499 |
|
*/ |
| 500 |
|
public function getExtensionPathList() { |
| 501 |
|
$paths = array(); |
| 502 |
|
|
| 503 |
|
// Get enabled modules. |
| 504 |
|
$modules = $this->getModuleList(); |
| 505 |
|
foreach ($modules as $module) { |
| 506 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 507 |
|
} |
| 508 |
|
|
| 509 |
|
return $paths; |
| 510 |
|
} |
| 511 |
|
|
| 512 |
|
/** |
| 513 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 423-433 (lines=11) @@
|
| 420 |
|
/** |
| 421 |
|
* {@inheritdoc} |
| 422 |
|
*/ |
| 423 |
|
public function getExtensionPathList() { |
| 424 |
|
$paths = array(); |
| 425 |
|
|
| 426 |
|
// Get enabled modules. |
| 427 |
|
$modules = $this->getModuleList(); |
| 428 |
|
foreach ($modules as $module) { |
| 429 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
return $paths; |
| 433 |
|
} |
| 434 |
|
|
| 435 |
|
/** |
| 436 |
|
* {@inheritdoc} |