help.install
Same filename and directory in other branches
Install and uninstall functions for help module.
File
-
core/
modules/ help/ help.install
View source
<?php
/**
* @file
* Install and uninstall functions for help module.
*/
/**
* Implements hook_update_last_removed().
*/
function help_update_last_removed() : int {
return 10200;
}
/**
* Remove the help_search_items table.
*/
function help_update_11400() : void {
// Drop the help_search_items table if search module is not installed.
if (!\Drupal::moduleHandler()->moduleExists('search')) {
if (\Drupal::database()->schema()
->tableExists('help_search_items')) {
\Drupal::database()->schema()
->dropTable('help_search_items');
}
}
}
Functions
| Title | Deprecated | Summary |
|---|---|---|
| help_update_11400 | Remove the help_search_items table. | |
| help_update_last_removed | Implements hook_update_last_removed(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.