You are here

metatag_google_scholar.install in Metatag Google Scholar 8

Module installation hooks implementation.

File

metatag_google_scholar.install
View source
<?php

/**
 * @file
 * Module installation hooks implementation.
 */

/**
 * Clear tag plugin caches so citation_pdf_url tag is handled by renamed class.
 */
function metatag_google_scholar_update_8001() {
  \Drupal::service('plugin.manager.metatag.tag')
    ->clearCachedDefinitions();
}

Functions

Namesort descending Description
metatag_google_scholar_update_8001 Clear tag plugin caches so citation_pdf_url tag is handled by renamed class.