You are here

public function SelectionDisplayInterface::getForm in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/SelectionDisplayInterface.php \Drupal\entity_browser\SelectionDisplayInterface::getForm()

Returns selection display form.

Parameters

array $original_form: Entire form built up to this point. Form elements for selection display should generally not be added directly to it but returned from function as a separated unit.

\Drupal\Core\Form\FormStateInterface $form_state: Form state object.

Return value

array Form structure.

3 methods override SelectionDisplayInterface::getForm()
MultiStepDisplay::getForm in src/Plugin/EntityBrowser/SelectionDisplay/MultiStepDisplay.php
Returns selection display form.
NoDisplay::getForm in src/Plugin/EntityBrowser/SelectionDisplay/NoDisplay.php
Returns selection display form.
View::getForm in src/Plugin/EntityBrowser/SelectionDisplay/View.php
Returns selection display form.

File

src/SelectionDisplayInterface.php, line 41

Class

SelectionDisplayInterface
Defines the interface for entity browser selection displays.

Namespace

Drupal\entity_browser

Code

public function getForm(array &$original_form, FormStateInterface $form_state);