WireSaveableItemsLookup::getLookupField() method

If a lookup table should be left joined, this method returns the name of the array field in $data that contains multiple values

i.e. roles_permissions becomes permissions_id if getTable() returns roles Does not need to be overridden unless the table naming structure doesn't follow existing logic.

Usage

$wireSaveableItemsLookup->getLookupField();

WireSaveableItemsLookup methods and properties

API reference based on ProcessWire core version 3.0.244

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull