Search for list
Title | Object type | File name | Summary |
---|---|---|---|
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[[api-linebreak]] |
ModerationStateFieldItemListTest.php | file | core/ |
|
ModerationStateFieldItemListTest::$modules | property | core/ |
Modules to install. |
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. |
ModerationStateFieldItemListTest::testAssignNullItemList | function | core/ |
Tests the field item when it is assigned NULL. |
ModerationStateFieldItemListTest::testEmptyFieldItem | function | core/ |
Tests an empty value assigned to the field item. |
ModerationStateFieldItemListTest::testEmptyFieldItemList | function | core/ |
Tests 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/ |
Tests the moderation_state field after an entity has been serialized. |
ModerationStateFieldItemListTest::testEntityWithNoWorkflow | function | core/ |
Tests 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/ |
Tests saving a moderated node with an existing ID. |
ModerationStateFieldItemListTest::testModerationStateChanges | function | core/ |
Tests that moderation state changes also change the related entity state. |
ModerationStateFieldItemListTest::testModerationStateSampleValues | function | core/ |
Test generating sample values for entities with a moderation state. |
ModerationStateFieldItemListTest::testNonModeratedEntity | function | core/ |
Tests 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/ |
Tests the field item when it is unset. |
ModerationStateFieldItemListTest::testWithExistingUnmoderatedContent | function | core/ |
Tests the field item list when used with existing unmoderated content. |
ModerationStateFieldItemListTest::testWorkflowCustomizedInitialState | function | core/ |
Test customizing the default moderation state. |
ModuleExtensionList | class | core/ |
Provides a list of available modules. |
ModuleExtensionList.php | file | core/ |
|
ModuleExtensionList::$configFactory | property | core/ |
The config factory. |
ModuleExtensionList::$defaults | property | core/ |
Default values to be merged into *.info.yml file arrays. |
ModuleExtensionList::$profileList | property | core/ |
The profile list needed by this module list. |
ModuleExtensionList::doList | function | core/ |
Builds the list of extensions. |
ModuleExtensionList::doScanExtensions | function | core/ |
Scans the available extensions. |
ModuleExtensionList::ensureRequiredDependencies | function | core/ |
Marks dependencies of required modules as 'required', recursively. |
ModuleExtensionList::getActiveProfile | function | core/ |
Gets the processed active profile object, or null. |
ModuleExtensionList::getExtensionDiscovery | function | core/ |
Returns the extension discovery. |
ModuleExtensionList::getInstalledExtensionNames | function | core/ |
Returns a list of machine names of installed extensions. |
ModuleExtensionList::getProfileDirectories | function | core/ |
Finds all installation profile paths. |
ModuleExtensionList::__construct | function | core/ |
Constructs a new ModuleExtensionList instance. |
Pagination
- Previous page
- Page 27
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.