public function AlterEntityBrowserDisplayData::setData in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Events/AlterEntityBrowserDisplayData.php \Drupal\entity_browser\Events\AlterEntityBrowserDisplayData::setData()
Sets data array.
Parameters
array $data: Data array.
File
- src/
Events/ AlterEntityBrowserDisplayData.php, line 90
Class
- AlterEntityBrowserDisplayData
- Allows data for an entity browser element to be altered.
Namespace
Drupal\entity_browser\EventsCode
public function setData($data) {
$this->data = $data;
}