Search for mode
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityDisplayModeBase::$targetEntityType | property | core/ |
The entity type this form or view mode is used for. |
| EntityDisplayModeBase::calculateDependencies | function | core/ |
Calculates dependencies and stores them in the dependency property. |
| EntityDisplayModeBase::getDescription | function | core/ |
Gets the display mode description. |
| EntityDisplayModeBase::getTargetType | function | core/ |
Gets the entity type this display mode is used for. |
| EntityDisplayModeBase::preDelete | function | core/ |
Acts on entities before they are deleted and before hooks are invoked. |
| EntityDisplayModeBase::preSave | function | core/ |
Acts on an entity before the presave hook is invoked. |
| EntityDisplayModeBase::setTargetType | function | core/ |
Set the entity type this display mode is used for. |
| EntityDisplayModeBase::sort | function | core/ |
Callback for uasort() to sort configuration entities by weight and label. |
| EntityDisplayModeBase::urlRouteParameters | function | core/ |
Gets an array of placeholders for this entity. |
| EntityDisplayModeBaseTestableClass | class | core/ |
A class extending EntityDisplayModeBase for testing purposes. |
| EntityDisplayModeBaseUnitTest | class | core/ |
Tests Drupal\Core\Entity\EntityDisplayModeBase. |
| EntityDisplayModeBaseUnitTest.php | file | core/ |
|
| EntityDisplayModeBaseUnitTest::$entity | property | core/ |
The entity under test. |
| EntityDisplayModeBaseUnitTest::$entityInfo | property | core/ |
The entity type used for testing. |
| EntityDisplayModeBaseUnitTest::$entityType | property | core/ |
The ID of the type of the entity under test. |
| EntityDisplayModeBaseUnitTest::$entityTypeManager | property | core/ |
The entity type manager used for testing. |
| EntityDisplayModeBaseUnitTest::$uuid | property | core/ |
The UUID generator used for testing. |
| EntityDisplayModeBaseUnitTest::setUp | function | core/ |
|
| EntityDisplayModeBaseUnitTest::testCalculateDependencies | function | core/ |
Tests calculate dependencies. |
| EntityDisplayModeBaseUnitTest::testGetTargetType | function | core/ |
Tests get target type. |
| EntityDisplayModeBaseUnitTest::testSetTargetType | function | core/ |
Tests set target type. |
| EntityDisplayModeController | class | core/ |
Provides methods for entity display mode routes. |
| EntityDisplayModeController.php | file | core/ |
|
| EntityDisplayModeController::formModeTypeSelection | function | core/ |
Provides a list of eligible entity types for adding form modes. |
| EntityDisplayModeController::viewModeTypeSelection | function | core/ |
Provides a list of eligible entity types for adding view modes. |
| EntityDisplayModeDeleteForm | class | core/ |
Provides the delete form for entity display modes. |
| EntityDisplayModeDeleteForm.php | file | core/ |
|
| EntityDisplayModeDeleteForm::getDescription | function | core/ |
Returns additional text to display as a description. |
| EntityDisplayModeEditForm | class | core/ |
Provides the edit form for entity display modes. |
| EntityDisplayModeEditForm.php | file | core/ |
|
| EntityDisplayModeFormBase | class | core/ |
Provides the generic base class for entity display mode forms. |
| EntityDisplayModeFormBase.php | file | core/ |
|
| EntityDisplayModeFormBase::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
| EntityDisplayModeFormBase::$entityType | property | core/ |
The entity type definition. |
| EntityDisplayModeFormBase::$targetEntityTypeId | property | core/ |
The entity type for which the display mode is being created or edited. |
| EntityDisplayModeFormBase::buildForm | function | core/ |
Form constructor. |
| EntityDisplayModeFormBase::copyFormValuesToEntity | function | core/ |
Copies top-level form values to entity properties. |
| EntityDisplayModeFormBase::create | function | core/ |
Instantiates a new instance of this class. |
| EntityDisplayModeFormBase::exists | function | core/ |
Determines if the display mode already exists. |
| EntityDisplayModeFormBase::form | function | core/ |
Gets the actual form array to be built. |
| EntityDisplayModeFormBase::getDisplayByContext | function | core/ |
Returns View or Form display based on display context. |
| EntityDisplayModeFormBase::getEntityDisplay | function | core/ |
Returns an entity display object to be used by this form. |
| EntityDisplayModeFormBase::getFormDisplay | function | core/ |
Load the form display for a given bundle and form mode name. |
| EntityDisplayModeFormBase::getOverviewUrl | function | core/ |
Returns the Url object for a specific entity (form) display edit form. |
| EntityDisplayModeFormBase::getViewDisplay | function | core/ |
Load the view display for a given bundle and view mode name. |
| EntityDisplayModeFormBase::init | function | core/ |
Initialize the form state and the entity before the first form build. |
| EntityDisplayModeFormBase::save | function | core/ |
Form submission handler for the 'save' action. |
| EntityDisplayModeFormBase::__construct | function | core/ |
Constructs a EntityDisplayModeFormBase object. |
| EntityDisplayModeInterface | interface | core/ |
Provides an interface for entity types that hold form and view mode settings. |
| EntityDisplayModeInterface.php | file | core/ |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.