metatag_hreflang.test 678 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. * Tests for the Metatag module to ensure the hreflang meta tags work correctly.
  5. */
  6. class MetatagHreflangTest extends MetatagTestHelper {
  7. /**
  8. * {@inheritdoc}
  9. */
  10. public static function getInfo() {
  11. return array(
  12. 'name' => 'Metatag core tests for hreflang',
  13. 'description' => 'Test Metatag integration with the locale module.',
  14. 'group' => 'Metatag',
  15. );
  16. }
  17. /**
  18. * {@inheritdoc}
  19. */
  20. function setUp(array $modules = array()) {
  21. // Need Locale for the multiple languages.
  22. $modules[] = 'locale';
  23. parent::setUp($modules);
  24. }
  25. // @todo Make sure the hreflang meta tag is added for each enabled language.
  26. }