You are here

public function NoDisplay::getForm in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/EntityBrowser/SelectionDisplay/NoDisplay.php \Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay\NoDisplay::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.

Overrides SelectionDisplayInterface::getForm

File

src/Plugin/EntityBrowser/SelectionDisplay/NoDisplay.php, line 24

Class

NoDisplay
Does not show current selection and immediately delivers selected entities.

Namespace

Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay

Code

public function getForm(array &$original_form, FormStateInterface $form_state) {
  return [];
}