Skip to content
Snippets Groups Projects

Issue #3417418: Update documentation and fix code issues

7 files
+ 37
49
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -197,11 +197,11 @@ class Novaposhta extends FormElement {
}
/**
* {@inheritdoc}
* Validate form element.
*/
public static function validateElement(array &$element, FormStateInterface $form_state, array &$complete_form) {
// Retrieve city and warehouse data from element state and set as form
// values so it will be available after form submit.
// values, so it will be available after form submit.
$element_state = static::getElementState($element['#parents'], $form_state);
if (!empty($element_state)) {
foreach ($element_state as $key => $value) {
Loading