You are here

interface ModulesWeightInterface in Modules weight 8.2

Same name and namespace in other branches
  1. 8 src/ModulesWeightInterface.php \Drupal\modules_weight\ModulesWeightInterface

Interface ModulesWeightInterface.

@package Drupal\modules_weight

Hierarchy

Expanded class hierarchy of ModulesWeightInterface

All classes that implement ModulesWeightInterface

1 file declares its use of ModulesWeightInterface
ModulesListForm.php in src/Form/ModulesListForm.php

File

src/ModulesWeightInterface.php, line 10

Namespace

Drupal\modules_weight
View source
interface ModulesWeightInterface {

  /**
   * Return the modules list ordered by the modules weight.
   *
   * Depending on the force parameter the Core modules will be returned or not.
   *
   * @param bool $show_core_modules
   *   Force to show the core modules.
   *
   * @return array
   *   The modules list.
   */
  public function getModulesList($show_core_modules = FALSE);

}

Members

Namesort descending Modifiers Type Description Overrides
ModulesWeightInterface::getModulesList public function Return the modules list ordered by the modules weight. 1