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 install. |
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. |
ModerationStateFieldItemListTest::testAssignNullItemList |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests the field item when it is assigned NULL. |
ModerationStateFieldItemListTest::testEmptyFieldItem |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests an empty value assigned to the field item. |
ModerationStateFieldItemListTest::testEmptyFieldItemList |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests 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 |
Tests the moderation_state field after an entity has been serialized. |
ModerationStateFieldItemListTest::testEntityWithNoWorkflow |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests updating the state for an entity without a workflow. |
ModerationStateFieldItemListTest::testGet |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
@covers ::get |
ModerationStateFieldItemListTest::testGetValue |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
@covers ::getValue |
ModerationStateFieldItemListTest::testModeratedEntityWithExistingId |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests 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::testModerationStateSampleValues |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Test generating sample values for entities with a moderation state. |
ModerationStateFieldItemListTest::testNonModeratedEntity |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests 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 |
Tests the field item when it is unset. |
ModerationStateFieldItemListTest::testWithExistingUnmoderatedContent |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests 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. |
MultiItemsFieldHandlerInterface |
interface |
core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php |
Defines a field handler which renders multiple items per row. |
MultiItemsFieldHandlerInterface.php |
file |
core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php |
|
MultiItemsFieldHandlerInterface::getItems |
function |
core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php |
Gets an array of items for the field. |
MultiItemsFieldHandlerInterface::renderItems |
function |
core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php |
Render all items in this field together. |
MultiItemsFieldHandlerInterface::render_item |
function |
core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php |
Renders a single item of a row. |
MultipleFileUploadTest::testMultipleFileFieldWithAllFileExtensions |
function |
core/modules/file/tests/src/Functional/MultipleFileUploadTest.php |
Tests multiple file field with all file extensions. |
MultipleValueWidgetTest::testFieldMultipleValueWidget |
function |
core/modules/field/tests/src/FunctionalJavascript/MultipleValueWidgetTest.php |
Tests the 'Add more' functionality. |
MultipleValueWidgetTest::testFieldMultipleValueWidgetAddMoreNoValidation |
function |
core/modules/field/tests/src/FunctionalJavascript/MultipleValueWidgetTest.php |
Tests that no validation occurs on field on "Add more" click. |
MultipleWidgetFormTest::$field |
property |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
An array of values defining a field. |
MultipleWidgetFormTest::$fieldStorageMultiple |
property |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
An array of values defining a field multiple. |
MultipleWidgetFormTest::testFieldFormMultipleWidget |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests widgets handling multiple values. |
MultipleWidgetFormTest::testFieldFormMultipleWidgetAlter |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests hook_field_widget_complete_form_alter(). |
MultipleWidgetFormTest::testFieldFormMultipleWidgetAlterSingleValues |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests hook_field_widget_complete_form_alter() with single value elements. |
MultipleWidgetFormTest::testFieldFormMultipleWidgetTypeAlter |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests hook_field_widget_complete_WIDGET_TYPE_form_alter(). |
MultipleWidgetFormTest::testFieldFormMultipleWidgetTypeAlterSingleValues |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests hook_field_widget_complete_WIDGET_TYPE_form_alter() with single value elements. |
MultipleWidgetFormTest::testLabelOnMultiValueFields |
function |
core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php |
Tests the form display of the label for multi-value fields. |
MultiStepNodeFormBasicOptionsTest::$fieldName |
property |
core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php |
The field name to create. |