Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
EntityDisplayFormBase::getDisplayModes | function | core/ |
Returns the form or view modes used by this form. |
EntityDisplayFormBase::getDisplayModesLink | function | core/ |
Returns a link to the form or view mode admin page. |
EntityDisplayInterface::getMode | function | core/ |
Gets the view or form mode to be displayed. |
EntityDisplayInterface::getOriginalMode | function | core/ |
Gets the original view or form mode that was requested. |
EntityDisplayModeAddForm | class | core/ |
Provides the add form for entity display modes. |
EntityDisplayModeAddForm.php | file | core/ |
|
EntityDisplayModeAddForm::$targetEntityTypeId | property | core/ |
The entity type for which the display mode is being created. |
EntityDisplayModeAddForm::buildForm | function | core/ |
Form constructor. |
EntityDisplayModeAddForm::prepareEntity | function | core/ |
Prepares the entity object before the form is built first. |
EntityDisplayModeAddForm::validateForm | function | core/ |
Form validation handler. |
EntityDisplayModeBase | class | core/ |
Base class for config entity types with settings for form and view modes. |
EntityDisplayModeBase.php | file | core/ |
|
EntityDisplayModeBase::$cache | property | core/ |
Whether or not the rendered output of this view mode is cached by default. |
EntityDisplayModeBase::$id | property | core/ |
The ID of the form or view mode. |
EntityDisplayModeBase::$label | property | core/ |
The human-readable name of the form or view mode. |
EntityDisplayModeBase::$status | property | core/ |
Whether or not this form or view mode has custom settings by default. |
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::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/ |
Helper callback for uasort() to sort configuration entities by weight and label. |
EntityDisplayModeBase::urlRouteParameters | function | core/ |
Gets an array of placeholders for this entity. |
EntityDisplayModeBaseUnitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityDisplayModeBase @group Config |
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/ |
@covers ::calculateDependencies |
EntityDisplayModeBaseUnitTest::testGetTargetType | function | core/ |
@covers ::getTargetType |
EntityDisplayModeBaseUnitTest::testSetTargetType | function | core/ |
@covers ::setTargetType |
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::$entityType | property | core/ |
The entity type definition. |
EntityDisplayModeFormBase::exists | function | core/ |
Determines if the display mode already exists. |
EntityDisplayModeFormBase::form | function | core/ |
Gets the actual form array to be built. |
EntityDisplayModeFormBase::init | function | core/ |
Initialize the form state and the entity before the first form build. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.