This issue is part of our sprint: https://groups.drupal.org/node/536206
As per the TODO description:
@TODO: We have to load these options from this field settings to show only selected types.
We need to make sure to read the options of the Saudi Identity field directly from field settings instead of redefining the list of options.
On this line 69 We can see the list of options are defined as PHP array. We should find a way to read this array from the same source of field settings which is defined on line 38.
We may find a way to define this list as a new method in the SaudiIdentityItem class.
Any suggestions are welcomed.
Comments
Comment #3
samaphpThe field settings has been added in defaultFieldSettings() as a centralized place for field options.
This issue has been resolved. please review guys. Thanks
Comment #4
samaphpComment #5
hamadm commentedTested
Comment #6
hamadm commentedComment #7
3ssom commentedComment #8
3ssom commented