RevisionDeleteFormTest |
class |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Tests deleting a revision with revision delete form. |
RevisionDeleteFormTest.php |
file |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
|
RevisionDeleteFormTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
The theme to install as the default for testing. |
RevisionDeleteFormTest::$modules |
property |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Modules to install. |
RevisionDeleteFormTest::doTestPageTitle |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Tests title by whether entity supports revision creation dates. |
RevisionDeleteFormTest::doTestSubmitForm |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Tests revision deletion, and expected response after deletion. |
RevisionDeleteFormTest::getLogs |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Loads watchdog entries by channel. |
RevisionDeleteFormTest::providerPageTitle |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Data provider for testPageTitle. |
RevisionDeleteFormTest::providerSubmitForm |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Data provider for testSubmitForm. |
RevisionDeleteFormTest::setUp |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
|
RevisionDeleteFormTest::testAccessDelete |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Test that revisions can and can't be deleted in various scenarios. |
RevisionDeleteFormTest::testAccessDeleteDefault |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Test cannot delete default revision. |
RevisionDeleteFormTest::testAccessDeleteLatestDefault |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Test cannot delete latest revision. |
RevisionDeleteFormTest::testAccessDeleteLatestForwardRevision |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Ensure that forward revision can be deleted. |
RevisionDeleteFormTest::testAccessDeleteNonLatest |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Test can delete non-latest revision. |
RevisionDeleteFormTest::testPageTitle |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Tests title by whether entity supports revision creation dates. |
RevisionDeleteFormTest::testSubmitForm |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php |
Tests revision deletion form. |
RevisionRevertForm |
class |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Provides a form for reverting an entity revision. |
RevisionRevertForm.php |
file |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
|
RevisionRevertForm::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
The entity type manager. |
RevisionRevertForm::$moduleHandler |
property |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
The module handler. |
RevisionRevertForm::$operation |
property |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
The entity operation. |
RevisionRevertForm::$revision |
property |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
The entity revision. |
RevisionRevertForm::buildEntity |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Builds an updated entity object based upon the submitted form values. |
RevisionRevertForm::buildForm |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Form constructor. |
RevisionRevertForm::create |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Instantiates a new instance of this class. |
RevisionRevertForm::currentUser |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Gets the current user. |
RevisionRevertForm::getBaseFormId |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns a string identifying the base form. |
RevisionRevertForm::getBundleLabel |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns the bundle label of an entity. |
RevisionRevertForm::getCancelUrl |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns the route to go to if the user cancels the action. |
RevisionRevertForm::getConfirmText |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns a caption for the button that confirms the action. |
RevisionRevertForm::getDescription |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns additional text to display as a description. |
RevisionRevertForm::getEntity |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Gets the form entity. |
RevisionRevertForm::getEntityFromRouteMatch |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Determines which entity will be used by this form from a RouteMatch object. |
RevisionRevertForm::getFormId |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns a unique string identifying the form. |
RevisionRevertForm::getOperation |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Gets the operation identifying the form. |
RevisionRevertForm::getQuestion |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Returns the question to ask the user. |
RevisionRevertForm::prepareRevision |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Prepares a revision to be reverted. |
RevisionRevertForm::save |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Form submission handler for the 'save' action. |
RevisionRevertForm::setEntity |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Sets the form entity. |
RevisionRevertForm::setEntityTypeManager |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Sets the entity type manager for this form. |
RevisionRevertForm::setModuleHandler |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Sets the module handler for this form. |
RevisionRevertForm::setOperation |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Sets the operation for this form. |
RevisionRevertForm::submitForm |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Form submission handler. |
RevisionRevertForm::__construct |
function |
core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php |
Creates a new RevisionRevertForm instance. |
RevisionRevertFormTest |
class |
core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php |
Tests reverting a revision with revision revert form. |
RevisionRevertFormTest.php |
file |
core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php |
|
RevisionRevertFormTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php |
The theme to install as the default for testing. |
RevisionRevertFormTest::$modules |
property |
core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php |
Modules to install. |
RevisionRevertFormTest::countRevisions |
function |
core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php |
Count number of revisions for an entity type. |