Search for mode
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] |
| 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/ |
Test cases for ::testModeratedEntityWithExistingId. |
| ModerationStateFieldItemListTest::moderationStateChangesTestCases | function | core/ |
Data provider for ::testModerationStateChanges |
| ModerationStateFieldItemListTest::setUp | function | core/ |
|
| ModerationStateFieldItemListTest::testArrayIndex | function | core/ |
Test the field item list when accessing an index. |
| ModerationStateFieldItemListTest::testArrayIteration | function | core/ |
Test the field item list when iterating. |
| ModerationStateFieldItemListTest::testAssignNullItemList | function | core/ |
Test the field item when it is assigned NULL. |
| ModerationStateFieldItemListTest::testEmptyFieldItem | function | core/ |
Test an empty value assigned to the field item. |
| ModerationStateFieldItemListTest::testEmptyFieldItemList | function | core/ |
Test an empty value assigned to the field item list. |
| ModerationStateFieldItemListTest::testEmptyStateAndAppend | function | core/ |
Tests the item list when it is emptied and appended to. |
| ModerationStateFieldItemListTest::testEntityUnserialize | function | core/ |
Test the moderation_state field after an entity has been serialized. |
| ModerationStateFieldItemListTest::testEntityWithNoWorkflow | function | core/ |
Test updating the state for an entity without a workflow. |
| ModerationStateFieldItemListTest::testGet | function | core/ |
@covers ::get[[api-linebreak]] |
| ModerationStateFieldItemListTest::testGetValue | function | core/ |
@covers ::getValue[[api-linebreak]] |
| ModerationStateFieldItemListTest::testModeratedEntityWithExistingId | function | core/ |
Test saving a moderated node with an existing ID. |
| ModerationStateFieldItemListTest::testModerationStateChanges | function | core/ |
Tests that moderation state changes also change the related entity state. |
| ModerationStateFieldItemListTest::testNonModeratedEntity | function | core/ |
Test the list class with a non moderated entity. |
| ModerationStateFieldItemListTest::testTranslationWithExistingUnmoderatedContent | function | core/ |
Tests field item list translation support with unmoderated content. |
| ModerationStateFieldItemListTest::testUnsetItemList | function | core/ |
Test the field item when it is unset. |
| ModerationStateFieldItemListTest::testWithExistingUnmoderatedContent | function | core/ |
Test the field item list when used with existing unmoderated content. |
| ModerationStateFieldItemListTest::testWorkflowCustomizedInitialState | function | core/ |
Test customizing the default moderation state. |
| ModerationStateFilter | class | core/ |
Provides a filter for the moderation state of an entity. |
| ModerationStateFilter.php | file | core/ |
|
| ModerationStateFilter::$bundleInfo | property | core/ |
The bundle information service. |
| ModerationStateFilter::$entityTypeManager | property | core/ |
The entity type manager. |
| ModerationStateFilter::$valueFormType | property | core/ |
|
| ModerationStateFilter::$workflowStorage | property | core/ |
The storage handler of the workflow entity type. |
| ModerationStateFilter::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
| ModerationStateFilter::create | function | core/ |
Creates an instance of the plugin. |
| ModerationStateFilter::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| ModerationStateFilter::getCacheTags | function | core/ |
The cache tags associated with this object. |
| ModerationStateFilter::getValueOptions | function | core/ |
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/ |
Gets the list of Workflow IDs configured for this filter. |
| ModerationStateFilter::onDependencyRemoval | function | core/ |
Allows a plugin to define whether it should be removed. |
| ModerationStateFilter::opSimple | function | core/ |
|
| ModerationStateFilter::__construct | function | core/ |
Creates an instance of ModerationStateFilter. |
| ModerationStateJoinViewsHandlerTrait | trait | core/ |
Assist views handler plugins to join to the content_moderation_state entity. |
| ModerationStateJoinViewsHandlerTrait.php | file | core/ |
|
| ModerationStateJoinViewsHandlerTrait::ensureMyTable | function | core/ |
|
| ModerationStateNodeTest | class | core/ |
Tests general content moderation workflow for nodes. |
| ModerationStateNodeTest.php | file | core/ |
|
| ModerationStateNodeTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ModerationStateNodeTest::setUp | function | core/ |
Sets the test up. |
| ModerationStateNodeTest::testCreatingContent | function | core/ |
Tests creating and deleting content. |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.