Skip to content
Snippets Groups Projects
Commit 9c7b92ca authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2080625 by areke, mrsinguyen: Remove unused local variables for the field module.

parent 9793e997
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ public function settingsSummary() {
*/
public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, array &$form_state) {
$values = array();
foreach ($items as $delta => $item) {
foreach ($items as $item) {
$values[] = $item->value;
}
$element += array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment