Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
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. |
EntityDisplayModeFormBase::save | function | core/ |
Form submission handler for the 'save' action. |
EntityDisplayModeInterface | interface | core/ |
Provides an interface for entity types that hold form and view mode settings. |
EntityDisplayModeInterface.php | file | core/ |
|
EntityDisplayModeInterface::getTargetType | function | core/ |
Gets the entity type this display mode is used for. |
EntityDisplayModeInterface::setTargetType | function | core/ |
Set the entity type this display mode is used for. |
EntityDisplayModeListBuilder | class | core/ |
Defines a class to build a listing of view mode entities. |
EntityDisplayModeListBuilder.php | file | core/ |
|
EntityDisplayModeListBuilder::$entityTypes | property | core/ |
All entity types. |
EntityDisplayModeListBuilder::buildHeader | function | core/ |
Builds the header row for the entity listing. |
EntityDisplayModeListBuilder::buildRow | function | core/ |
Builds a row for an entity in the entity listing. |
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.