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 10.3.x for mode
  5. Other projects
Title Object type File name Summary
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.
NodeAccessTest::$moderationInformation property core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php The moderation information service.
NodeEntityViewModeAlterTest class core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Tests changing view modes for nodes.
NodeEntityViewModeAlterTest.php file core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
NodeEntityViewModeAlterTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php The theme to install as the default for testing.
NodeEntityViewModeAlterTest::$modules property core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Enable dummy module that implements hook_ENTITY_TYPE_view() for nodes.
NodeEntityViewModeAlterTest::testNodeViewModeChange function core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php Create a "Basic page" node and verify its consistency in the database.
NodeModerationHandler class core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Customizations for node entities.
NodeModerationHandler.php file core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
NodeModerationHandler::$moderationInfo property core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php The moderation information service.
NodeModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Instantiates a new instance of this entity handler.
NodeModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters bundle forms to enforce revision handling.
NodeModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Alters entity forms to enforce revision handling.
NodeModerationHandler::__construct function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php NodeModerationHandler constructor.
NodeTestHooks::entityViewModeAlter function core/modules/node/tests/modules/node_test/src/Hook/NodeTestHooks.php Implements hook_entity_view_mode_alter().
NodeType::$preview_mode property core/modules/node/src/Entity/NodeType.php The preview mode.
NodeType::getPreviewMode function core/modules/node/src/Entity/NodeType.php Gets the preview mode.
NodeType::setPreviewMode function core/modules/node/src/Entity/NodeType.php Sets the preview mode.

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