function RevisionViewTest::providerRevisionPage

Same name and namespace in other branches
  1. 11.x 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, 01/11/2009 - 16:00',
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.