You are here

public function ModulesWeightInterface::getModulesList in Modules weight 8

Same name and namespace in other branches
  1. 8.2 src/ModulesWeightInterface.php \Drupal\modules_weight\ModulesWeightInterface::getModulesList()

Return the modules list ordered by the modules weight.

Depending on the force parameter the Core modules will be returned or not.

Parameters

bool $show_core_modules: Force to show the core modules.

Return value

array The modules list.

1 method overrides ModulesWeightInterface::getModulesList()
ModulesWeight::getModulesList in src/ModulesWeight.php
Return the modules list ordered by the modules weight.

File

src/ModulesWeightInterface.php, line 23

Class

ModulesWeightInterface
Interface ModulesWeightInterface.

Namespace

Drupal\modules_weight

Code

public function getModulesList($show_core_modules = FALSE);