Skip to content

Commit 64da459

Browse files
krajesh.axisgmail.compaul-m
krajesh.axisgmail.com
authored andcommitted
Issue #2942626 by Rajesh Kairamkonda, joachim, vlklavanya: variable set but not used in AjaxAddMore form
1 parent 8643ef6 commit 64da459

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

form_api_example/src/Form/AjaxAddMore.php

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public function getFormId() {
9696
* Selects and returns the fieldset with the names in it.
9797
*/
9898
public function addmoreCallback(array &$form, FormStateInterface $form_state) {
99-
$name_field = $form_state->get('num_names');
10099
return $form['names_fieldset'];
101100
}
102101

0 commit comments

Comments
 (0)