Search for mode

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

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