Search for mode

  1. Search 7.x for mode
  2. Search 8.9.x for mode
  3. Search 10.3.x for mode
  4. Search 11.x for mode
  5. Other projects
Title Object type File name Summary
DefaultModerationStateTest class core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests setting a custom default moderation state.
DefaultModerationStateTest.php file core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
DefaultModerationStateTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php The theme to install as the default for testing.
DefaultModerationStateTest::setUp function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Sets the test up.
DefaultModerationStateTest::testDeleteDefaultStateAccess function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests access to deleting the default state.
DefaultModerationStateTest::testPublishedDefaultState function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests a workflow with a default moderation state set.
DefaultRevisionStateTest::assertModerationState function core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php Verifies the expected moderation state revision exists.
DisplayModeUpdateTest class core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php Ensure display modes are updated when fields are created.
DisplayModeUpdateTest.php file core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php
DisplayModeUpdateTest::$defaultFormDisplayName property core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php The default form display name.
DisplayModeUpdateTest::$defaultViewDisplayName property core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php The default view display name.
DisplayModeUpdateTest::$foobarFormDisplayName property core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php The alternate form display name.
DisplayModeUpdateTest::$foobarViewDisplayName property core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php The alternate view display name.
DisplayModeUpdateTest::setUp function core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php Set the default field storage backend for fields created during tests.
DisplayModeUpdateTest::testDisplayModeUpdateAfterFieldCreation function core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php Ensure display modes are updated when fields are created.
DynamicLocalTasks::$moderationInfo property core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php The moderation information service.
EditModeTest class core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Tests edit mode.
EditModeTest.php file core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php
EditModeTest::$defaultTheme property core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php The theme to install as the default for testing.
EditModeTest::$modules property core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Modules to enable.
EditModeTest::ANNOUNCE_SELECTOR constant core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php CSS selector for Drupal's announce element.
EditModeTest::assertAnnounceEditMode function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Asserts that the correct message was announced when entering edit mode.
EditModeTest::assertAnnounceLeaveEditMode function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Assert that the correct message was announced when leaving edit mode.
EditModeTest::getTabbableElementsCount function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Gets the number of elements that are tabbable.
EditModeTest::pressToolbarEditButton function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Presses the toolbar edit mode.
EditModeTest::setUp function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php
EditModeTest::testEditModeEnableDisable function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Tests enabling and disabling edit mode.
EditorMediaDialog::getViewModeDefaultValue function core/modules/media/src/Form/EditorMediaDialog.php Gets the default value for the view mode form element.
entity-moderation-form.html.twig file core/themes/stable9/templates/content-edit/entity-moderation-form.html.twig <ul class="entity-moderation-form">
<li class="entity-moderation-form__item">{{ form.current }}</li>
<li class="entity-moderation-form__item">{{ form.new_state }}</li>
<li…
entity-moderation-form.html.twig file core/themes/stable/templates/content-edit/entity-moderation-form.html.twig <ul class="entity-moderation-form">
<li class="entity-moderation-form__item">{{ form.current }}</li>
<li class="entity-moderation-form__item">{{ form.new_state }}</li>
<li…
entity-moderation-form.html.twig file core/modules/content_moderation/templates/entity-moderation-form.html.twig <ul class="entity-moderation-form">
<li class="entity-moderation-form__item">{{ form.current }}</li>
<li class="entity-moderation-form__item">{{ form.new_state }}</li>
<li…
EntityCacheTagsTestBase::selectViewMode function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Selects the preferred view mode for the given entity type.
EntityDisplayBase::$mode property core/lib/Drupal/Core/Entity/EntityDisplayBase.php View or form mode to be displayed.
EntityDisplayBase::$originalMode property core/lib/Drupal/Core/Entity/EntityDisplayBase.php The original view or form mode that was requested.
EntityDisplayBase::CUSTOM_MODE constant core/lib/Drupal/Core/Entity/EntityDisplayBase.php The mode used to render entities with arbitrary display options.
EntityDisplayBase::getMode function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the view or form mode to be displayed.
EntityDisplayBase::getOriginalMode function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the original view or form mode that was requested.
EntityDisplayBaseTest::testGetMode function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getMode
EntityDisplayBaseTest::testGetOriginalMode function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getOriginalMode
EntityDisplayFormBase::getDisplayModeOptions function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns an array of form or view mode options.
EntityDisplayFormBase::getDisplayModes function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns the form or view modes used by this form.
EntityDisplayFormBase::getDisplayModesLink function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns a link to the form or view mode admin page.
EntityDisplayInterface::getMode function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the view or form mode to be displayed.
EntityDisplayInterface::getOriginalMode function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the original view or form mode that was requested.
EntityDisplayModeAddForm class core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Provides the add form for entity display modes.
EntityDisplayModeAddForm.php file core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php
EntityDisplayModeAddForm::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php The entity type for which the display mode is being created.
EntityDisplayModeAddForm::buildForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form constructor.
EntityDisplayModeAddForm::prepareEntity function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Prepares the entity object before the form is built first.
EntityDisplayModeAddForm::validateForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form validation handler.

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