interface DisplayAjaxInterface in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/DisplayAjaxInterface.php \Drupal\entity_browser\DisplayAjaxInterface
Defines the interface for entity browser displays.
Hierarchy
- interface \Drupal\entity_browser\DisplayAjaxInterface
Expanded class hierarchy of DisplayAjaxInterface
All classes that implement DisplayAjaxInterface
1 file declares its use of DisplayAjaxInterface
- EntityBrowserForm.php in src/
Form/ EntityBrowserForm.php
File
- src/
DisplayAjaxInterface.php, line 8
Namespace
Drupal\entity_browserView source
interface DisplayAjaxInterface {
/**
* Adds ajax capabilities to the entity browser form.
*
* This will be used in Plugins like Modal that require the Entity Browser
* form to be sumbitted with ajax. All other plugins that don't require it
* can leave it blank.
*
* @param array $form
* Form array containing the Entity Browser elements.
*/
public function addAjax(array &$form);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DisplayAjaxInterface:: |
public | function | Adds ajax capabilities to the entity browser form. |