Search for mode

  1. Search 7.x for mode
  2. Search 9.5.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
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.
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::$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::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.
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.
EntityDisplayModeBaseUnitTest::$uuid property core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php The UUID generator used for testing.
EntityDisplayModeBaseUnitTest::setUp function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityDisplayModeBaseUnitTest::testCalculateDependencies function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::calculateDependencies
EntityDisplayModeBaseUnitTest::testGetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::getTargetType
EntityDisplayModeBaseUnitTest::testSetTargetType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @covers ::setTargetType
EntityDisplayModeController class core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides methods for entity display mode routes.
EntityDisplayModeController.php file core/modules/field_ui/src/Controller/EntityDisplayModeController.php
EntityDisplayModeController::formModeTypeSelection function core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides a list of eligible entity types for adding form modes.
EntityDisplayModeController::viewModeTypeSelection function core/modules/field_ui/src/Controller/EntityDisplayModeController.php Provides a list of eligible entity types for adding view modes.
EntityDisplayModeDeleteForm class core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php Provides the delete form for entity display modes.
EntityDisplayModeDeleteForm.php file core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php
EntityDisplayModeDeleteForm::getDescription function core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php Returns additional text to display as a description.
EntityDisplayModeEditForm class core/modules/field_ui/src/Form/EntityDisplayModeEditForm.php Provides the edit form for entity display modes.
EntityDisplayModeEditForm.php file core/modules/field_ui/src/Form/EntityDisplayModeEditForm.php
EntityDisplayModeFormBase class core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Provides the generic base class for entity display mode forms.
EntityDisplayModeFormBase.php file core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php
EntityDisplayModeFormBase::$entityType property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type definition.
EntityDisplayModeFormBase::exists function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Determines if the display mode already exists.
EntityDisplayModeFormBase::form function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Gets the actual form array to be built.
EntityDisplayModeFormBase::init function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Initialize the form state and the entity before the first form build.

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