public function MetatagTagsTestBase::getTestTagName in Metatag 7
Convert a tag's internal name to the string which is actually used in HTML.
The meta tag internal name will be machine names, i.e. only contain a-z, A-Z, 0-9 and the underline character. Meta tag names will actually contain any possible character.
Parameters
string $tag_name: The tag name to be converted.
Return value
string The converted tag name.
1 call to MetatagTagsTestBase::getTestTagName()
- MetatagTagsTestBase::testTagsInputOutput in tests/
MetatagTagsTestBase.test - Confirm that each tag can be saved and that the output of each tag is correct.
12 methods override MetatagTagsTestBase::getTestTagName()
- MetatagAppLinksTagsTest::getTestTagName in metatag_app_links/
tests/ MetatagAppLinksTagsTest.test - Convert a tag's internal name to the string which is actually used in HTML.
- MetatagDcAdvancedTagsTest::getTestTagName in metatag_dc_advanced/
tests/ MetatagDcAdvancedTagsTest.test - Convert a tag's internal name to the string which is actually used in HTML.
- MetatagDcTagsTest::getTestTagName in metatag_dc/
tests/ MetatagDcTagsTest.test - Convert a tag's internal name to the string which is actually used in HTML.
- MetatagFacebookTagsTest::getTestTagName in metatag_facebook/
tests/ MetatagFacebookTagsTest.test - Convert a tag's internal name to the string which is actually used in HTML.
- MetatagGooglePlusTagsTest::getTestTagName in metatag_google_plus/
tests/ MetatagGooglePlusTagsTest.test - Convert a tag's internal name to the string which is actually used in HTML.
File
- tests/
MetatagTagsTestBase.test, line 266 - Base class for testing a module's custom tags.
Class
- MetatagTagsTestBase
- Base class for testing a module's custom tags.
Code
public function getTestTagName($tag_name) {
return $tag_name;
}