You are here

public function ExtraFieldFormBase::setEntityFormDisplay in Extra Field 8.2

Stores the entity form display.

Parameters

\Drupal\Core\Entity\Display\EntityFormDisplayInterface $display: The entity form display holding the display options configured for the entity components.

Overrides ExtraFieldFormInterface::setEntityFormDisplay

File

src/Plugin/ExtraFieldFormBase.php, line 59

Class

ExtraFieldFormBase
Base class for Extra field Form plugins.

Namespace

Drupal\extra_field\Plugin

Code

public function setEntityFormDisplay(EntityFormDisplayInterface $display) {
  $this->entityFormDisplay = $display;
}