Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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[[api-linebreak]]
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 Test 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 Test the field item list when accessing an index.
ModerationStateFieldItemListTest::testArrayIteration function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the field item list when iterating.
ModerationStateFieldItemListTest::testAssignNullItemList function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the field item when it is assigned NULL.
ModerationStateFieldItemListTest::testEmptyFieldItem function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test an empty value assigned to the field item.
ModerationStateFieldItemListTest::testEmptyFieldItemList function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test an empty value assigned to the field item list.
ModerationStateFieldItemListTest::testEmptyStateAndAppend function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests the item list when it is emptied and appended to.
ModerationStateFieldItemListTest::testEntityUnserialize function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the moderation_state field after an entity has been serialized.
ModerationStateFieldItemListTest::testEntityWithNoWorkflow function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test updating the state for an entity without a workflow.
ModerationStateFieldItemListTest::testGet function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php @covers ::get[[api-linebreak]]
ModerationStateFieldItemListTest::testGetValue function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php @covers ::getValue[[api-linebreak]]
ModerationStateFieldItemListTest::testModeratedEntityWithExistingId function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test saving a moderated node with an existing ID.
ModerationStateFieldItemListTest::testModerationStateChanges function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests that moderation state changes also change the related entity state.
ModerationStateFieldItemListTest::testNonModeratedEntity function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the list class with a non moderated entity.
ModerationStateFieldItemListTest::testTranslationWithExistingUnmoderatedContent function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests field item list translation support with unmoderated content.
ModerationStateFieldItemListTest::testUnsetItemList function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the field item when it is unset.
ModerationStateFieldItemListTest::testWithExistingUnmoderatedContent function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test the field item list when used with existing unmoderated content.
ModerationStateFieldItemListTest::testWorkflowCustomizedInitialState function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test customizing the default moderation state.
ModerationStateFilter class core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Provides a filter for the moderation state of an entity.
ModerationStateFilter.php file core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModerationStateFilter::$bundleInfo property core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The bundle information service.
ModerationStateFilter::$entityTypeManager property core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The entity type manager.
ModerationStateFilter::$valueFormType property core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModerationStateFilter::$workflowStorage property core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The storage handler of the workflow entity type.
ModerationStateFilter::calculateDependencies function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Calculates dependencies for the configured plugin.
ModerationStateFilter::create function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Creates an instance of the plugin.
ModerationStateFilter::getCacheContexts function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The cache contexts associated with this object.
ModerationStateFilter::getCacheTags function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The cache tags associated with this object.
ModerationStateFilter::getValueOptions function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
ModerationStateFilter::getWorkflowIds function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Gets the list of Workflow IDs configured for this filter.
ModerationStateFilter::onDependencyRemoval function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Allows a plugin to define whether it should be removed.
ModerationStateFilter::opSimple function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModerationStateFilter::__construct function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Creates an instance of ModerationStateFilter.
ModerationStateJoinViewsHandlerTrait trait core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php Assist views handler plugins to join to the content_moderation_state entity.
ModerationStateJoinViewsHandlerTrait.php file core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php
ModerationStateJoinViewsHandlerTrait::ensureMyTable function core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php
ModerationStateNodeTest class core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php Tests general content moderation workflow for nodes.

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