src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 444-454 (lines=11) @@
|
| 441 |
|
/** |
| 442 |
|
* {@inheritdoc} |
| 443 |
|
*/ |
| 444 |
|
public function getExtensionPathList() { |
| 445 |
|
$paths = array(); |
| 446 |
|
|
| 447 |
|
// Get enabled modules. |
| 448 |
|
$modules = $this->getModuleList(); |
| 449 |
|
foreach ($modules as $module) { |
| 450 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 451 |
|
} |
| 452 |
|
|
| 453 |
|
return $paths; |
| 454 |
|
} |
| 455 |
|
|
| 456 |
|
/** |
| 457 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 544-554 (lines=11) @@
|
| 541 |
|
/** |
| 542 |
|
* {@inheritdoc} |
| 543 |
|
*/ |
| 544 |
|
public function getExtensionPathList() { |
| 545 |
|
$paths = array(); |
| 546 |
|
|
| 547 |
|
// Get enabled modules. |
| 548 |
|
$modules = $this->getModuleList(); |
| 549 |
|
foreach ($modules as $module) { |
| 550 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 551 |
|
} |
| 552 |
|
|
| 553 |
|
return $paths; |
| 554 |
|
} |
| 555 |
|
|
| 556 |
|
/** |
| 557 |
|
* {@inheritdoc} |