Projet

Général

Profil

Révision 6ff32cea

Ajouté par Florent Torregrosa il y a environ 9 ans

Update core to 7.36

Voir les différences:

drupal7/includes/module.inc
265 265
/**
266 266
 * Determines whether a given module exists.
267 267
 *
268
 * @param $module
268
 * @param string $module
269 269
 *   The name of the module (without the .module extension).
270 270
 *
271
 * @return
272
 *   TRUE if the module is both installed and enabled.
271
 * @return bool
272
 *   TRUE if the module is both installed and enabled, FALSE otherwise.
273 273
 */
274 274
function module_exists($module) {
275 275
  $list = module_list();

Formats disponibles : Unified diff