Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
ModerationRevisionRevertTest::testEditingAfterRevertRevision | function | core/ |
Tests that reverting a revision works. |
ModerationStateAccessTest | class | core/ |
Tests the view access control handler for moderation state entities. |
ModerationStateAccessTest.php | file | core/ |
|
ModerationStateAccessTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ModerationStateAccessTest::$modules | property | core/ |
Modules to enable. |
ModerationStateAccessTest::setUp | function | core/ |
|
ModerationStateAccessTest::testViewShowsCorrectStates | function | core/ |
Tests the view operation access handler with the view permission. |
ModerationStateBlockTest | class | core/ |
Tests general content moderation workflow for blocks. |
ModerationStateBlockTest.php | file | core/ |
|
ModerationStateBlockTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ModerationStateBlockTest::setUp | function | core/ |
Sets the test up. |
ModerationStateBlockTest::testCustomBlockModeration | function | core/ |
Tests moderating custom blocks. |
ModerationStateConstraint | class | core/ |
Verifies that nodes have a valid moderation state. |
ModerationStateConstraint.php | file | core/ |
|
ModerationStateConstraint::$invalidStateMessage | property | core/ |
|
ModerationStateConstraint::$invalidTransitionAccess | property | core/ |
|
ModerationStateConstraint::$message | property | core/ |
|
ModerationStateConstraintValidator | class | core/ |
Checks if a moderation state transition is valid. |
ModerationStateConstraintValidator.php | file | core/ |
|
ModerationStateConstraintValidator::$currentUser | property | core/ |
The current user. |
ModerationStateConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
ModerationStateConstraintValidator::$moderationInformation | property | core/ |
The moderation info. |
ModerationStateConstraintValidator::$stateTransitionValidation | property | core/ |
The state transition validation service. |
ModerationStateConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
ModerationStateConstraintValidator::validate | function | core/ |
|
ModerationStateConstraintValidator::__construct | function | core/ |
Creates a new ModerationStateConstraintValidator instance. |
ModerationStateField | class | core/ |
A field handler for the computed moderation_state field. |
ModerationStateField.php | file | core/ |
|
ModerationStateField::clickSort | function | core/ |
Called to determine what to tell the clicksorter. |
ModerationStateFieldItemList | class | core/ |
A computed field that provides a content entity's moderation state. |
ModerationStateFieldItemList.php | file | core/ |
|
ModerationStateFieldItemList::computeValue | function | core/ |
Computes the values for an item list. |
ModerationStateFieldItemList::generateSampleItems | function | core/ |
Populates a specified number of field items with valid sample data. |
ModerationStateFieldItemList::get | function | core/ |
Returns the item at the specified position in this list. |
ModerationStateFieldItemList::getModerationStateId | function | core/ |
Gets the moderation state ID linked to a content entity revision. |
ModerationStateFieldItemList::loadContentModerationStateRevision | function | core/ |
Load the content moderation state revision associated with an entity. |
ModerationStateFieldItemList::onChange | function | core/ |
React to changes to a child property or item. |
ModerationStateFieldItemList::setValue | function | core/ |
Overrides \Drupal\Core\TypedData\TypedData::setValue(). |
ModerationStateFieldItemList::updateModeratedEntity | function | core/ |
Updates the default revision flag and the publishing status of the entity. |
ModerationStateFieldItemListTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\Plugin\Field\ModerationStateFieldItemList |
ModerationStateFieldItemListTest.php | file | core/ |
|
ModerationStateFieldItemListTest::$modules | property | core/ |
Modules to enable. |
ModerationStateFieldItemListTest::$testNode | property | core/ |
|
ModerationStateFieldItemListTest::assertEmptiedModerationFieldItemList | function | core/ |
Assert the set of expectations when the moderation state field is emptied. |
ModerationStateFieldItemListTest::entityUnserializeTestCases | function | core/ |
Test cases for ::testEntityUnserialize. |
ModerationStateFieldItemListTest::moderatedEntityWithExistingIdTestCases | function | core/ |
Tests cases for ::testModeratedEntityWithExistingId. |
ModerationStateFieldItemListTest::moderationStateChangesTestCases | function | core/ |
Data provider for ::testModerationStateChanges. |
ModerationStateFieldItemListTest::setUp | function | core/ |
|
ModerationStateFieldItemListTest::testArrayIndex | function | core/ |
Tests the field item list when accessing an index. |
ModerationStateFieldItemListTest::testArrayIteration | function | core/ |
Tests the field item list when iterating. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.