You are here

function amp_update_8004 in Accelerated Mobile Pages (AMP) 8.2

Same name and namespace in other branches
  1. 8.3 amp.install \amp_update_8004()

Remove AMP metatadata, deferring to the Schema.org Metadata module now.

File

./amp.install, line 88

Code

function amp_update_8004() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('amp.metadata');
  $config
    ->delete();
}