Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
ModerationStateNodeTest::testFormSaveDestination | function | core/ |
Tests edit form destinations. |
ModerationStateNodeTest::testNoContentModerationPermissions | function | core/ |
Tests the workflow when a user has no Content Moderation permissions. |
ModerationStateNodeTest::testPagers | function | core/ |
Tests pagers aren't broken by content_moderation. |
ModerationStateNodeTypeTest | class | core/ |
Tests moderation state node type integration. |
ModerationStateNodeTypeTest.php | file | core/ |
|
ModerationStateNodeTypeTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ModerationStateNodeTypeTest::testEnablingOnExistingContent | function | core/ |
Tests enabling moderation on an existing node-type, with content. |
ModerationStateNodeTypeTest::testEnforceRevisionsEntityFormAlter | function | core/ |
@covers \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::enforceRevisionsBundleFormAlter |
ModerationStateNodeTypeTest::testNotModerated | function | core/ |
A node type without moderation state disabled. |
ModerationStateSort | class | core/ |
Enables sorting for the computed moderation_state field. |
ModerationStateSort.php | file | core/ |
|
ModerationStateSort::$entityTypeManager | property | core/ |
The entity type manager. |
ModerationStateSort::create | function | core/ |
Creates an instance of the plugin. |
ModerationStateSort::__construct | function | core/ |
Creates an instance of ModerationStateFilter. |
ModerationStateTaxonomyTermTest | class | core/ |
Tests the taxonomy term moderation handler. |
ModerationStateTaxonomyTermTest.php | file | core/ |
|
ModerationStateTaxonomyTermTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ModerationStateTaxonomyTermTest::setUp | function | core/ |
Sets the test up. |
ModerationStateTaxonomyTermTest::testEnforceRevisionsEntityFormAlter | function | core/ |
Tests the taxonomy term moderation handler alters the forms as intended. |
ModerationStateTestBase | class | core/ |
Defines a base class for moderation state tests. |
ModerationStateTestBase.php | file | core/ |
|
ModerationStateTestBase::$adminUser | property | core/ |
Admin user. |
ModerationStateTestBase::$modules | property | core/ |
Modules to install. |
ModerationStateTestBase::$permissions | property | core/ |
Permissions to grant admin user. |
ModerationStateTestBase::$profile | property | core/ |
Profile to use. |
ModerationStateTestBase::$workflow | property | core/ |
The editorial workflow entity. |
ModerationStateTestBase::createContentTypeFromUi | function | core/ |
Creates a content-type from the UI. |
ModerationStateTestBase::enableModerationThroughUi | function | core/ |
Enable moderation for a specified content type, using the UI. |
ModerationStateTestBase::getWorkflowTransitionPermission | function | core/ |
Gets the permission machine name for a transition. |
ModerationStateTestBase::grantUserPermissionToCreateContentOfType | function | core/ |
Grants given user permission to create content of given type. |
ModerationStateTestBase::setUp | function | core/ |
Sets the test up. |
ModerationStateWidget | class | core/ |
Plugin implementation of the 'moderation_state_default' widget. |
ModerationStateWidget.php | file | core/ |
|
ModerationStateWidget::$currentUser | property | core/ |
Current user service. |
ModerationStateWidget::$entityTypeManager | property | core/ |
The entity type manager. |
ModerationStateWidget::$moderationInformation | property | core/ |
Moderation information service. |
ModerationStateWidget::$validator | property | core/ |
Moderation state transition validation service. |
ModerationStateWidget::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
ModerationStateWidget::create | function | core/ |
Creates an instance of the plugin. |
ModerationStateWidget::form | function | core/ |
Creates a form element for a field. |
ModerationStateWidget::formElement | function | core/ |
Returns the form for a single field widget. |
ModerationStateWidget::isApplicable | function | core/ |
Returns if the widget can be used for the provided field. |
ModerationStateWidget::validateElement | function | core/ |
Form validation handler for widget elements. |
ModerationStateWidget::__construct | function | core/ |
Constructs a new ModerationStateWidget object. |
ModerationStateWidgetTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\Plugin\Field\FieldWidget\ModerationStateWidget @group content_moderation |
ModerationStateWidgetTest.php | file | core/ |
|
ModerationStateWidgetTest::$modules | property | core/ |
Modules to install. |
ModerationStateWidgetTest::setUp | function | core/ |
|
ModerationStateWidgetTest::testIsApplicable | function | core/ |
@covers ::isApplicable |
ModerationStateWidgetTest::testWidgetNonModeratedEntity | function | core/ |
Tests the widget does not impact a non-moderated entity. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.