public function BynderWidgetBase::buildConfigurationForm in Bynder 8
Same name and namespace in other branches
- 8.3 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::buildConfigurationForm()
- 8.2 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::buildConfigurationForm()
- 4.0.x src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::buildConfigurationForm()
2 calls to BynderWidgetBase::buildConfigurationForm()
- BynderSearch::buildConfigurationForm in src/
Plugin/ EntityBrowser/ Widget/ BynderSearch.php - BynderUpload::buildConfigurationForm in src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php
2 methods override BynderWidgetBase::buildConfigurationForm()
- BynderSearch::buildConfigurationForm in src/
Plugin/ EntityBrowser/ Widget/ BynderSearch.php - BynderUpload::buildConfigurationForm in src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php
File
- src/
Plugin/ EntityBrowser/ Widget/ BynderWidgetBase.php, line 128
Class
- BynderWidgetBase
- Base class for Bynder Entity browser widgets.
Namespace
Drupal\bynder\Plugin\EntityBrowser\WidgetCode
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form = parent::buildConfigurationForm($form, $form_state);
$form['media_bundle'] = [
'#type' => 'select',
'#title' => $this
->t('Media bundle'),
'#default_value' => $this->configuration['media_bundle'],
'#required' => TRUE,
'#options' => [],
];
return $form;
}