protected function MetatagTagsTest::canonicalUrlTestOutputXpath in Metatag 8
Implements {tag_name}TestNameAttribute() for 'canonical_url'.
File
- tests/
src/ Functional/ MetatagTagsTest.php, line 104
Class
- MetatagTagsTest
- Tests that each of the Metatag base tags work correctly.
Namespace
Drupal\Tests\metatag\FunctionalCode
protected function canonicalUrlTestOutputXpath() {
return "//link[@rel='canonical']";
}