So I have some entries and one of the fields is for a "hotline". The hotlines are all entries. The CMS part works, I can click the field and choose an entry from the hotlines channel, however this is where I'm stuck.
In my plugin code I cannot seem to figure out a way to actually get the hotline that was chosen.
I have a
$center variable which is an
EntryModel of the entry that has the field for "hotlines" attached to it, with the value set (according to the admin).
$center->getFieldValue('hotline') just return an
ElementCriteriaModel and when I inspect that object inside xdebug there is nothing there that would be usable in getting the actual hotline that's selected. No ID. No object. No nothing. Just information about the field it self, not the value.
What the heck am I doing wrong here? This is so "unintuitive" compared to the rest of craft!