src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 420-430 (lines=11) @@
|
| 417 |
|
/** |
| 418 |
|
* {@inheritdoc} |
| 419 |
|
*/ |
| 420 |
|
public function getExtensionPathList() { |
| 421 |
|
$paths = array(); |
| 422 |
|
|
| 423 |
|
// Get enabled modules. |
| 424 |
|
$modules = $this->getModuleList(); |
| 425 |
|
foreach ($modules as $module) { |
| 426 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
return $paths; |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
/** |
| 433 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.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} |