Révision 29771811
Ajouté par Assos Assos il y a presque 5 ans
drupal7/sites/all/modules/media/modules/media_migrate_file_types/media_migrate_file_types.module | ||
---|---|---|
5 | 5 |
* Primarily Drupal hooks. |
6 | 6 |
*/ |
7 | 7 |
|
8 |
/* |
|
9 |
* Implements hook_system_info_alter() |
|
8 |
/**
|
|
9 |
* Implements hook_system_info_alter().
|
|
10 | 10 |
*/ |
11 | 11 |
function media_migrate_file_types_system_info_alter(&$info, $file, $type) { |
12 | 12 |
if ($type == 'module' && $file->name == 'media_migrate_file_types') { |
... | ... | |
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
/** |
55 |
* Checks if there are any files that belong to disabled or deleted file |
|
56 |
* types. |
|
55 |
* Checks if there are any files that belong to disabled or deleted file types. |
|
57 | 56 |
* |
58 | 57 |
* @return Array of file types (machine names) that are candidates for |
59 | 58 |
* migration. |
Formats disponibles : Unified diff
Weekly update of contrib modules