Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
EntityDisplayModeAddForm | class | core/ |
Provides the add form for entity display modes. |
EntityDisplayModeAddForm.php | file | core/ |
|
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::$description | property | core/ |
Description of the form or view mode. |
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::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/ |
Helper 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/ |
@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::$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::create | function | core/ |
Instantiates a new instance of this class. |
EntityDisplayModeFormBase::exists | function | core/ |
Determines if the display mode already exists. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.