Update to Drupal 8.0.1. For more information, see https://www.drupal.org/node/2627402
This commit is contained in:
parent
013aaaf2ff
commit
1a0e9d9fac
153 changed files with 1268 additions and 670 deletions
|
@ -397,8 +397,6 @@ abstract class WidgetBase extends PluginSettingsBase implements WidgetInterface
|
|||
$field_state = static::getWidgetState($form['#parents'], $field_name, $form_state);
|
||||
|
||||
if ($violations->count()) {
|
||||
$form_builder = \Drupal::formBuilder();
|
||||
|
||||
// Locate the correct element in the form.
|
||||
$element = NestedArray::getValue($form_state->getCompleteForm(), $field_state['array_parents']);
|
||||
|
||||
|
|
Reference in a new issue