You are here

function metatag_update_7109 in Metatag 7

Rename the 'icon_any' meta tag to 'mask-icon' in the entity records.

File

./metatag.install, line 2580
Install, update, and uninstall functions for the metatag module.

Code

function metatag_update_7109(array &$sandbox) {
  module_load_include('install', 'metatag');
  $old_tag = 'icon_any';
  $new_tag = 'mask-icon';
  return metatag_update_replace_entity_tag($sandbox, $old_tag, $new_tag);
}