public function MediaSourceBase::validateConfigurationForm in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/src/MediaSourceBase.php \Drupal\media\MediaSourceBase::validateConfigurationForm()
- 10 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) {
}