private function MetatagHreflangWithEntityTranslationTest::supportedLocales in Metatag 7
The list of locales that are being tested.
Return value
array A simple list of language codes.
2 calls to MetatagHreflangWithEntityTranslationTest::supportedLocales()
- MetatagHreflangWithEntityTranslationTest::assertHreflangFields in metatag_hreflang/
tests/ MetatagHreflangWithEntityTranslationTest.test - Assert that the appropriate hreflang meta tag fields are present.
- MetatagHreflangWithEntityTranslationTest::setUp in metatag_hreflang/
tests/ MetatagHreflangWithEntityTranslationTest.test - Sets up a Drupal site for running functional and integration tests.
File
- metatag_hreflang/
tests/ MetatagHreflangWithEntityTranslationTest.test, line 99 - Tests for hreflang handle when Entity Translation is used.
Class
- MetatagHreflangWithEntityTranslationTest
- Tests for hreflang handle when Entity Translation is used.
Code
private function supportedLocales() {
return array(
'de',
'fr',
'es',
'en',
);
}