public function EntityDisplayBase::getComponents in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()
- 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getComponents()
Gets the display options for all components.
Return value
array The array of display options, keyed by component name.
Overrides EntityDisplayInterface::getComponents
8 calls to EntityDisplayBase::getComponents()
- EntityDisplayBase::onDependencyRemoval in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php - Informs the entity that entities it depends on will be deleted.
- EntityDisplayBase::preSave in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php - Acts on an entity before the presave hook is invoked.
- EntityFormDisplay::buildForm in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityFormDisplay.php - Adds field widgets to an entity form.
- EntityFormDisplay::getPluginCollections in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityFormDisplay.php - Gets the plugin collections used by this object.
- EntityFormDisplay::processForm in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityFormDisplay.php - Process callback: assigns weights and hides extra fields.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 323
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\EntityCode
public function getComponents() {
return $this->content;
}