public function EmbedTypeBase::validateConfigurationForm in Embed 8
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 EmbedTypeBase::validateConfigurationForm()
- Aircraft::validateConfigurationForm in tests/
embed_test/ src/ Plugin/ EmbedType/ Aircraft.php - Form validation handler.
File
- src/
EmbedType/ EmbedTypeBase.php, line 82
Class
- EmbedTypeBase
- Defines a base implementation that most embed type plugins will extend.
Namespace
Drupal\embed\EmbedTypeCode
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
// Do nothing.
}