You are here

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\Functional

Code

protected function canonicalUrlTestOutputXpath() {
  return "//link[@rel='canonical']";
}