Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Open Graph meta tags 7 » opengraph_meta.install

function opengraph_meta_uninstall in Open Graph meta tags 7

Same name and namespace in other branches
  1. 6 opengraph_meta.install \opengraph_meta_uninstall()

File

./opengraph_meta.install, line 82

Code

function opengraph_meta_uninstall() {
  variable_del(OPENGRAPH_META_VAR_CONTENT_TYPES_ENABLED);
  variable_del(OPENGRAPH_META_VAR_SITE_NAME);
  variable_del(OPENGRAPH_META_VAR_FALLBACK_IMG);
  variable_del(OPENGRAPH_META_VAR_OPTIONAL_TAGS);
  $types = OpenGraphMetaDrupalLayer::get_node_types();
  foreach ($types as $id => $d) {
    variable_del(OPENGRAPH_META_VAR_CONTENT_TYPE_ . $id);
    variable_del(OPENGRAPH_META_VAR_CONTENT_TYPE_CCK_ . $id);
  }
}

API Navigation

  • Open Graph meta tags 7
  • Classes
  • Functions
  • Files
  • Constants

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.