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
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.
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.
NodeTypeInterface::getPreviewMode function core/modules/node/src/NodeTypeInterface.php Gets the preview mode.
NodeTypeInterface::setPreviewMode function core/modules/node/src/NodeTypeInterface.php Sets the preview mode.
NodeTypeValidationTest::testPreviewModeValidation function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that a node type's preview mode is constrained to certain values.
node_test_entity_view_mode_alter function core/modules/node/tests/modules/node_test/node_test.module Implements hook_entity_view_mode_alter().
OperationData::MODE constant composer/Plugin/Scaffold/Operations/OperationData.php
OperationData::mode function composer/Plugin/Scaffold/Operations/OperationData.php Gets operation mode.
PathContentModerationTest class core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests path aliases with Content Moderation.
PathContentModerationTest.php file core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::$defaultTheme property core/modules/path/tests/src/Functional/PathContentModerationTest.php The theme to install as the default for testing.
PathContentModerationTest::$modules property core/modules/path/tests/src/Functional/PathContentModerationTest.php Modules to install.
PathContentModerationTest::assertPathsAreAccessible function core/modules/path/tests/src/Functional/PathContentModerationTest.php Helper callback to verify paths are responding with status 200.
PathContentModerationTest::setUp function core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::testNodePathAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests node path aliases on a moderated content type.
PathContentModerationTest::testTranslatedModeratedNodeAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests that translated and moderated node can get new draft revision.
PerComponentEntityDisplay::MODE_NAME constant core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php
PerComponentEntityFormDisplay::MODE_NAME constant core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php
ReadOnlyModeMethodFilter class core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Filters routes based on the HTTP method and JSON:API's read-only mode.

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