You are here

public function EntityBrowserForm::setEntityBrowser in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Form/EntityBrowserForm.php \Drupal\entity_browser\Form\EntityBrowserForm::setEntityBrowser()

Sets entity browser entity.

Parameters

\Drupal\entity_browser\EntityBrowserInterface $entity_browser: Entity browser entity.

Overrides EntityBrowserFormInterface::setEntityBrowser

File

src/Form/EntityBrowserForm.php, line 99

Class

EntityBrowserForm
The entity browser form.

Namespace

Drupal\entity_browser\Form

Code

public function setEntityBrowser(EntityBrowserInterface $entity_browser) {
  $this->entityBrowser = $entity_browser;
}