Skip to content

Commit

Permalink
Remove RDF support from facebooks submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Lampton committed Dec 24, 2017
1 parent 238aece commit dcac96c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions metatag_facebook/metatag_facebook.module
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,5 @@
/**
* @file
* Provides Metatags for Facebook.
* @see metatag_facebok.metatag.inc
*/

/**
* Implements hook_preprocess_page().
*/
function metatag_facebook_preprocess_page(&$variables) {
if (!isset($variables['rdf_namespaces'])) {
$variables['rdf_namespaces'] = '';
}

$variables['rdf_namespaces'] .= "\n xmlns:fb=\"http://ogp.me/ns/fb#\"";
}

0 comments on commit dcac96c

Please sign in to comment.