function RevisionRevertFormTest::providerPageTitle

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php \Drupal\FunctionalTests\Entity\RevisionRevertFormTest::providerPageTitle()

Data provider for testPageTitle.

1 call to RevisionRevertFormTest::providerPageTitle()
RevisionRevertFormTest::testFormRevisionRevert in core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php
Test form revision revert.

File

core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php, line 101

Class

RevisionRevertFormTest
Tests reverting a revision with revision revert form.

Namespace

Drupal\FunctionalTests\Entity

Code

protected static function providerPageTitle() : array {
    return [
        [
            'entity_test_rev',
            'Are you sure you want to revert the revision?',
        ],
        [
            'entity_test_revlog',
            'Are you sure you want to revert to 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.