Skip to content
Snippets Groups Projects

Fix error: Call to undefined method IntegerItem::getPossibleOptions()

Open Michael Lenahan requested to merge issue/diff-3206006:3206006-call-to-undefined into 2.x
1 unresolved thread

Closes #3206006

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
33 33 foreach ($field_items as $field_key => $field_item) {
34 34 // Build the array for comparison only if the field is not empty.
35 35 if (!$field_item->isEmpty()) {
36 if ($field_item instanceof \Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem) {
Please register or sign in to reply
Loading