function RevisionViewTest::providerRevisionPage

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

Data provider for testRevisionPage.

File

core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php, line 111

Class

RevisionViewTest
Tests revision view page.

Namespace

Drupal\FunctionalTests\Entity

Code

public static function providerRevisionPage() : array {
    return [
        [
            'entity_test_rev',
            'Revision of revision 1, view revision',
        ],
        [
            'entity_test_revlog',
            'Revision of revision 1, view 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.