diff --git a/core/lib/Drupal/Core/Entity/EntityFormControllerNG.php b/core/lib/Drupal/Core/Entity/EntityFormControllerNG.php index bea11bf..3125d5f 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormControllerNG.php +++ b/core/lib/Drupal/Core/Entity/EntityFormControllerNG.php @@ -32,7 +32,7 @@ public function form(array $form, array &$form_state) { } // Add a process callback so we can assign weights and hide extra fields. - $form['#process'][] = array(array($this, 'processForm')); + $form['#process'][] = array($this, 'processForm'); return $form; }