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
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.
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…
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…
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::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.
EntityDisplayModeBase class core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Base class for config entity types with settings for form and view modes.
EntityDisplayModeBase.php file core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php
EntityDisplayModeBase::$cache property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Whether or not the rendered output of this view mode is cached by default.
EntityDisplayModeBase::$description property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Description of the form or view mode.
EntityDisplayModeBase::$id property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The ID of the form or view mode.
EntityDisplayModeBase::$label property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The human-readable name of the form or view mode.
EntityDisplayModeBase::$status property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Whether or not this form or view mode has custom settings by default.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityDisplayModeBase::calculateDependencies function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Calculates dependencies and stores them in the dependency property.
EntityDisplayModeBase::getDescription function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the display mode description.
EntityDisplayModeBase::getTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets the entity type this display mode is used for.
EntityDisplayModeBase::preDelete function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Acts on entities before they are deleted and before hooks are invoked.
EntityDisplayModeBase::preSave function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Acts on an entity before the presave hook is invoked.
EntityDisplayModeBase::setTargetType function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Set the entity type this display mode is used for.
EntityDisplayModeBase::sort function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Helper callback for uasort() to sort configuration entities by weight and label.
EntityDisplayModeBase::urlRouteParameters function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Gets an array of placeholders for this entity.
EntityDisplayModeBaseTestableClass class core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php A class extending EntityDisplayModeBase for testing purposes.
EntityDisplayModeBaseUnitTest class core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDisplayModeBase
@group Config
EntityDisplayModeBaseUnitTest.php file core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityDisplayModeBaseUnitTest::$entity property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity under test.
EntityDisplayModeBaseUnitTest::$entityInfo property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity type used for testing.
EntityDisplayModeBaseUnitTest::$entityType property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The ID of the type of the entity under test.
EntityDisplayModeBaseUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The entity type manager used for testing.

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