Files
farmOS-dev/web/modules/entity_browser/src/EntityBrowserFormInterface.php
2024-12-10 15:08:16 +01:00

29 lines
624 B
PHP

<?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();
}