protected function MetatagFacebookTagsTest::getTestTagName in Metatag 8
Each of these meta tags has a different tag name vs its internal name.
Overrides MetatagTagsTestBase::getTestTagName
File
- metatag_facebook/
tests/ src/ Functional/ MetatagFacebookTagsTest.php, line 36
Class
- MetatagFacebookTagsTest
- Tests that each of the Metatag Facebook tags work correctly.
Namespace
Drupal\Tests\metatag_facebook\FunctionalCode
protected function getTestTagName($tag_name) {
$tag_name = str_replace('fb_', 'fb:', $tag_name);
return $tag_name;
}