deprecated_module_test.module
Same filename in other branches
Deprecated module test module.
File
-
core/
modules/ system/ tests/ modules/ deprecated_module_test/ deprecated_module_test.module
View source
<?php
/**
* @file
* Deprecated module test module.
*/
use Drupal\Core\Extension\Extension;
/**
* Implements hook_system_info_alter().
*/
function deprecated_module_test_system_info_alter(array &$info, Extension $file, $type) {
// Make the 'deprecated_module_contrib' look like it isn't part of core.
if ($type === 'module' && $info['name'] === 'Deprecated module contrib') {
$file->origin = 'sites/all';
}
}
Functions
Title | Deprecated | Summary |
---|---|---|
deprecated_module_test_system_info_alter | Implements hook_system_info_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.