You are here

function schema_metatag_update_8104 in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 schema_metatag.install \schema_metatag_update_8104()

Uninstall the deprecated SchemaVotingAPI and SchemaProgramMembership modules.

File

./schema_metatag.install, line 85
Update scripts for the Schema Metatag module.

Code

function schema_metatag_update_8104(&$sandbox) {
  \Drupal::service('module_installer')
    ->uninstall([
    'schema_votingapi',
    'schema_program_membership',
  ]);
  return (string) t("The Schema.org ProgramMembership and Schema.org VotingAPI modules have been deprecated and will be removed in a future release. They have been uninstalled");
}