function amp_update_8004 in Accelerated Mobile Pages (AMP) 8.3
Same name and namespace in other branches
- 8.2 amp.install \amp_update_8004()
Remove AMP metatadata, deferring to the Schema.org Metadata module now.
File
- ./
amp.install, line 148
Code
function amp_update_8004() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('amp.metadata');
$config
->delete();
}