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} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 534-544 (lines=11) @@
|
| 531 |
|
/** |
| 532 |
|
* {@inheritdoc} |
| 533 |
|
*/ |
| 534 |
|
public function getExtensionPathList() { |
| 535 |
|
$paths = array(); |
| 536 |
|
|
| 537 |
|
// Get enabled modules. |
| 538 |
|
$modules = $this->getModuleList(); |
| 539 |
|
foreach ($modules as $module) { |
| 540 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 541 |
|
} |
| 542 |
|
|
| 543 |
|
return $paths; |
| 544 |
|
} |
| 545 |
|
|
| 546 |
|
/** |
| 547 |
|
* {@inheritdoc} |