Commit 9c7b92ca authored by webchick's avatar webchick
Browse files

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

parent 9793e997
......@@ -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(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment