public function IFrame::defaultConfiguration in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Plugin/EntityBrowser/Display/IFrame.php \Drupal\entity_browser\Plugin\EntityBrowser\Display\IFrame::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides DisplayBase::defaultConfiguration
File
- src/
Plugin/ EntityBrowser/ Display/ IFrame.php, line 128
Class
- IFrame
- Presents entity browser in an iFrame.
Namespace
Drupal\entity_browser\Plugin\EntityBrowser\DisplayCode
public function defaultConfiguration() {
return [
'width' => '650',
'height' => '500',
'link_text' => $this
->t('Select entities'),
'auto_open' => FALSE,
] + parent::defaultConfiguration();
}