public function ExtraFieldDisplayInterface::setEntityViewDisplay in Extra Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldDisplayInterface.php \Drupal\extra_field\Plugin\ExtraFieldDisplayInterface::setEntityViewDisplay()
Stores the entity view display.
Parameters
\Drupal\Core\Entity\Display\EntityViewDisplayInterface $display: The entity view display holding the display options configured for the entity components. As provided by hook_entity_view()
1 method overrides ExtraFieldDisplayInterface::setEntityViewDisplay()
- ExtraFieldDisplayBase::setEntityViewDisplay in src/
Plugin/ ExtraFieldDisplayBase.php - Stores the entity view display.
File
- src/
Plugin/ ExtraFieldDisplayInterface.php, line 48
Class
- ExtraFieldDisplayInterface
- Defines an interface for Extra Field Display plugins.
Namespace
Drupal\extra_field\PluginCode
public function setEntityViewDisplay(EntityViewDisplayInterface $display);