public function BynderUpload::submitConfigurationForm in Bynder 8
Same name and namespace in other branches
- 8.3 src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::submitConfigurationForm()
- 8.2 src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::submitConfigurationForm()
- 4.0.x src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::submitConfigurationForm()
File
- src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php, line 520
Class
- BynderUpload
- Uses upload to create media entities.
Namespace
Drupal\bynder\Plugin\EntityBrowser\WidgetCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['tags'] = explode(',', $this->configuration['tags']);
$this->configuration['tags'] = array_map('trim', $this->configuration['tags']);
$this->configuration['metaproperty_options'] = array_filter($this->configuration['metaproperty_options']);
unset($this->configuration['metaproperties']);
}