a few more base modules

This commit is contained in:
Bachir Soussi Chiadmi
2016-09-06 16:05:07 +02:00
parent c6cff46234
commit 027aa99b32
455 changed files with 43606 additions and 0 deletions
@@ -0,0 +1,21 @@
<?php
/**
* @file
* Install hook for the External Links module.
*/
/**
* Implements hook_install().
*/
function extlink_install() {
// Weight needs to be 1 for compatibility with SpamSpan.
module_set_weight('extlink', 1);
// Be friendly to your users: what to do after install?
$url = \Drupal\Core\Url::fromUri('base://admin/config/user-interface/extlink');
if (PHP_SAPI != 'cli') {
drupal_set_message(t('You can now <a href="@extlink_admin">configure the External Links module</a> for your site.',
['@extlink_admin' => $url->toString()]), 'status');
}
}