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 11.x for mode
  5. Other projects
Title Object type File name Summary
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.
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::$displayContext property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The display context. Either 'view' or 'form'.
EntityDisplayModeFormBase::$entityType property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type definition.
EntityDisplayModeFormBase::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type for which the display mode is being created or edited.
EntityDisplayModeFormBase::buildForm function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Form constructor.
EntityDisplayModeFormBase::create function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Instantiates a new instance of this class.
EntityDisplayModeFormBase::exists function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Determines if the display mode already exists.

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