public function MediaSourceBase::validateConfigurationForm in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/MediaSourceBase.php \Drupal\media\MediaSourceBase::validateConfigurationForm()
Form validation handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PluginFormInterface::validateConfigurationForm
1 method overrides MediaSourceBase::validateConfigurationForm()
- OEmbed::validateConfigurationForm in core/
modules/ media/ src/ Plugin/ media/ Source/ OEmbed.php - Form validation handler.
File
- core/
modules/ media/ src/ MediaSourceBase.php, line 210
Class
- MediaSourceBase
- Base implementation of media source plugin.
Namespace
Drupal\mediaCode
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}