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