function help_update_11400
Same name and namespace in other branches
- main core/modules/help/help.install \help_update_11400()
Remove the help_search_items table.
File
-
core/
modules/ help/ help.install, line 18
Code
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');
}
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.