Search for mode

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

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