function exclude_node_title_uninstall in Exclude Node Title 8
Same name and namespace in other branches
- 6 exclude_node_title.install \exclude_node_title_uninstall()
- 7 exclude_node_title.install \exclude_node_title_uninstall()
Implements hook_uninstall().
File
- ./
exclude_node_title.install, line 25 - Install and update hooks for Exclude Node Title.
Code
function exclude_node_title_uninstall() {
// Uninstall old configuration.
\Drupal::configFactory()
->getEditable('exclude_node_title.settings')
->delete();
// Uninstall state configuration.
\Drupal::state()
->delete('exclude_node_title_nid_list');
}