public function EditorBase::settingsFormValidate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Plugin/EditorBase.php \Drupal\editor\Plugin\EditorBase::settingsFormValidate()
Validates the settings form for an editor.
The contents of the editor settings are located in $form_state->getValue(array('editor', 'settings')). Calls to $form_state->setError() should reflect this location in the settings form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides EditorPluginInterface::settingsFormValidate
File
- core/
modules/ editor/ src/ Plugin/ EditorBase.php, line 47 - Contains \Drupal\editor\Plugin\EditorBase.
Class
- EditorBase
- Defines a base class from which other modules providing editors may extend.
Namespace
Drupal\editor\PluginCode
public function settingsFormValidate(array $form, FormStateInterface $form_state) {
}