You are here

protected function MetatagTagsTest::robotsTestFieldXpath in Metatag 8

Implements {tag_name}TestFieldXpath() for 'robots'.

File

tests/src/Functional/MetatagTagsTest.php, line 202

Class

MetatagTagsTest
Tests that each of the Metatag base tags work correctly.

Namespace

Drupal\Tests\metatag\Functional

Code

protected function robotsTestFieldXpath() {
  return "//input[@name='robots[index]' and @type='checkbox']";
}