public function SchemaMetatagTagsTestBase::getPaths in Schema.org Metatag 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/SchemaMetatagTagsTestBase.php \Drupal\Tests\schema_metatag\Functional\SchemaMetatagTagsTestBase::getPaths()
Paths to test.
Tags that need to be tested on other paths can extend this method.
[$config_path, $rendered_path, $message]
Examples: // Global options. [ 'admin/config/search/metatag/global', 'somepath/that/must/exist', 'Saved the Global Metatag defaults.', ], // The front page. [ 'admin/config/search/metatag/front', '<front>', 'Saved the Front page Metatag defaults.', ],
1 call to SchemaMetatagTagsTestBase::getPaths()
- SchemaMetatagTagsTestBase::testTagsInputOutput in tests/
src/ Functional/ SchemaMetatagTagsTestBase.php - Confirm that tags can be saved and that the output of each tag is correct.
File
- tests/
src/ Functional/ SchemaMetatagTagsTestBase.php, line 245
Class
- SchemaMetatagTagsTestBase
- Base class to test all of the meta tags that are in a specific module.
Namespace
Drupal\Tests\schema_metatag\FunctionalCode
public function getPaths() {
return [
// The node page.
[
'admin/config/search/metatag/node',
'node/1',
'Saved the Content Metatag defaults',
],
];
}