You are here

EntityBrowserFormInterface.php in Entity Browser 8.2

Same filename and directory in other branches
  1. 8 src/EntityBrowserFormInterface.php

File

src/EntityBrowserFormInterface.php
View source
<?php

namespace Drupal\entity_browser;

use Drupal\Core\Form\FormInterface;

/**
 * Provides an interface defining an entity browser form.
 */
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();

}

Interfaces

Namesort descending Description
EntityBrowserFormInterface Provides an interface defining an entity browser form.