function RevisionDeleteFormTest::providerPageTitle

Same name in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php \Drupal\FunctionalTests\Entity\RevisionDeleteFormTest::providerPageTitle()

Data provider for testPageTitle.

File

core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php, line 90

Class

RevisionDeleteFormTest
Tests deleting a revision with revision delete form.

Namespace

Drupal\FunctionalTests\Entity

Code

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, 01/11/2009 - 16:00?',
        ],
    ];
}

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