function RevisionDeleteFormTest::testAccessDelete
Test that revisions can and can't be deleted in various scenarios.
File
-
core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionDeleteFormTest.php, line 127
Class
- RevisionDeleteFormTest
- Tests deleting a revision with revision delete form.
Namespace
Drupal\FunctionalTests\EntityCode
public function testAccessDelete() : void {
$this->testAccessDeleteLatestForwardRevision();
$this->testAccessDeleteDefault();
$this->testAccessDeleteNonLatest();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.