You are here

interface EntityBrowserFormInterface in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/EntityBrowserFormInterface.php \Drupal\entity_browser\EntityBrowserFormInterface

Provides an interface defining an entity browser form.

Hierarchy

Expanded class hierarchy of EntityBrowserFormInterface

All classes that implement EntityBrowserFormInterface

1 file declares its use of EntityBrowserFormInterface
EntityBrowserForm.php in src/Form/EntityBrowserForm.php

File

src/EntityBrowserFormInterface.php, line 10

Namespace

Drupal\entity_browser
View source
interface EntityBrowserFormInterface extends FormInterface {

  /**
   * Sets entity browser entity.
   *
   * @param \Drupal\entity_browser\EntityBrowserInterface $entity_browser
   *   Entity browser entity.
   */
  public function setEntityBrowser(EntityBrowserInterface $entity_browser);

  /**
   * Returns the entity browser entity.
   *
   * @return \Drupal\entity_browser\EntityBrowserInterface
   *   Entity browser entity.
   */
  public function getEntityBrowser();

}

Members

Namesort descending Modifiers Type Description Overrides
EntityBrowserFormInterface::getEntityBrowser public function Returns the entity browser entity. 1
EntityBrowserFormInterface::setEntityBrowser public function Sets entity browser entity. 1
FormInterface::buildForm public function Form constructor. 179
FormInterface::getFormId public function Returns a unique string identifying the form. 236
FormInterface::submitForm public function Form submission handler. 192
FormInterface::validateForm public function Form validation handler. 30