I have Table A who has a foreign key referring to Table B. I want my form associated with Table A to have a select field whose values will come from Table B. I want the select field to have options with key-value pairs coming from Table B.
Both Table A and Table B contain entities of different types.
I'm currently looking for programmatic solutions that use Entity Reference, but without having to go through adding a new field from Administration
> Structure
> <entity type>
.