function views_rss_itunes_uninstall in Views RSS: iTunes Elements 8
Same name and namespace in other branches
- 6 views_rss_itunes.install \views_rss_itunes_uninstall()
- 7 views_rss_itunes.install \views_rss_itunes_uninstall()
Implements hook_uninstall().
File
- ./
views_rss_itunes.install, line 181 - (Un)installation functions for Views RSS: iTunes Elements module.
Code
function views_rss_itunes_uninstall() {
Cache::invalidateTags(array(
'views_rss',
));
if ($vocabulary = Vocabulary::load('views_rss_itunes_category')) {
drupal_set_message(t('Please note that taxonomy vocabulary "iTunes Category" has not been deleted, as it could still be used by site\'s content. If you don\'t need it anymore, please <a href="@vocabulary_url">delete it manually</a>.', array(
'@vocabulary_url' => Url::fromRoute('entity.taxonomy_vocabulary.edit_form', [
'taxonomy_vocabulary' => $vocabulary
->id(),
]),
)));
}
}