You are here

function tfa_update_8001 in Two-factor Authentication (TFA) 8

Clear plugin cache as validation plugins moved to ga_login module.

File

./tfa.install, line 40
Installation related functions for TFA module.

Code

function tfa_update_8001() {
  \Drupal::cache('discovery')
    ->invalidateMultiple([
    'tfa_setup',
    'tfa_validation',
  ]);
}