Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
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. |
NodeAccessTest::$moderationInformation | property | core/ |
The moderation information service. |
NodeEntityViewModeAlterTest | class | core/ |
Tests changing view modes for nodes. |
NodeEntityViewModeAlterTest.php | file | core/ |
|
NodeEntityViewModeAlterTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
NodeEntityViewModeAlterTest::$modules | property | core/ |
Enable dummy module that implements hook_ENTITY_TYPE_view() for nodes. |
NodeEntityViewModeAlterTest::testNodeViewModeChange | function | core/ |
Create a "Basic page" node and verify its consistency in the database. |
NodeModerationHandler | class | core/ |
Customizations for node entities. |
NodeModerationHandler.php | file | core/ |
|
NodeModerationHandler::$moderationInfo | property | core/ |
The moderation information service. |
NodeModerationHandler::createInstance | function | core/ |
Instantiates a new instance of this entity handler. |
NodeModerationHandler::enforceRevisionsBundleFormAlter | function | core/ |
Alters bundle forms to enforce revision handling. |
NodeModerationHandler::enforceRevisionsEntityFormAlter | function | core/ |
Alters entity forms to enforce revision handling. |
NodeModerationHandler::__construct | function | core/ |
NodeModerationHandler constructor. |
NodeTestHooks::entityViewModeAlter | function | core/ |
Implements hook_entity_view_mode_alter(). |
NodeType::$preview_mode | property | core/ |
The preview mode. |
NodeType::getPreviewMode | function | core/ |
Gets the preview mode. |
NodeType::setPreviewMode | function | core/ |
Sets the preview mode. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.