src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 425-435 (lines=11) @@
|
| 422 |
|
/** |
| 423 |
|
* {@inheritdoc} |
| 424 |
|
*/ |
| 425 |
|
public function getExtensionPathList() { |
| 426 |
|
$paths = array(); |
| 427 |
|
|
| 428 |
|
// Get enabled modules. |
| 429 |
|
$modules = $this->getModuleList(); |
| 430 |
|
foreach ($modules as $module) { |
| 431 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 432 |
|
} |
| 433 |
|
|
| 434 |
|
return $paths; |
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
/** |
| 438 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 447-457 (lines=11) @@
|
| 444 |
|
/** |
| 445 |
|
* {@inheritdoc} |
| 446 |
|
*/ |
| 447 |
|
public function getExtensionPathList() { |
| 448 |
|
$paths = array(); |
| 449 |
|
|
| 450 |
|
// Get enabled modules. |
| 451 |
|
$modules = $this->getModuleList(); |
| 452 |
|
foreach ($modules as $module) { |
| 453 |
|
$paths[] = $this->drupalRoot . DIRECTORY_SEPARATOR . \drupal_get_path('module', $module); |
| 454 |
|
} |
| 455 |
|
|
| 456 |
|
return $paths; |
| 457 |
|
} |
| 458 |
|
|
| 459 |
|
/** |
| 460 |
|
* {@inheritdoc} |