You are here

ModulesWeightInterface.php in Modules weight 8.2

Same filename and directory in other branches
  1. 8 src/ModulesWeightInterface.php

File

src/ModulesWeightInterface.php
View source
<?php

namespace Drupal\modules_weight;


/**
 * Interface ModulesWeightInterface.
 *
 * @package Drupal\modules_weight
 */
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);

}

Interfaces

Namesort descending Description
ModulesWeightInterface Interface ModulesWeightInterface.