public function ExtraFieldDisplayBase::setEntityViewDisplay in Extra Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldDisplayBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayBase::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()
Overrides ExtraFieldDisplayInterface::setEntityViewDisplay
File
- src/
Plugin/ ExtraFieldDisplayBase.php, line 54
Class
- ExtraFieldDisplayBase
- Base class for Extra field Display plugins.
Namespace
Drupal\extra_field\PluginCode
public function setEntityViewDisplay(EntityViewDisplayInterface $display) {
$this->entityViewDisplay = $display;
}