function RevisionDeleteFormTest::providerPageTitle
Same name in other branches
- 10 core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php \Drupal\FunctionalTests\Entity\RevisionDeleteFormTest::providerPageTitle()
Data provider for testPageTitle.
1 call to RevisionDeleteFormTest::providerPageTitle()
- RevisionDeleteFormTest::testPageTitle in core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionDeleteFormTest.php - Tests title by whether entity supports revision creation dates.
File
-
core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionDeleteFormTest.php, line 99
Class
- RevisionDeleteFormTest
- Tests deleting a revision with revision delete form.
Namespace
Drupal\FunctionalTests\EntityCode
public static function providerPageTitle() : array {
return [
[
'entity_test_rev',
'Are you sure you want to delete the revision?',
],
[
'entity_test_revlog',
'Are you sure you want to delete the revision from Sun, 11 Jan 2009 - 16:00?',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.