lib/components/dataInterface/connectors/generic/DataSource.php
protected function internalGetKeyTranslation(Model $foreignObject, $key)
    {
        if ($this->settings['universalKey']) {
            return KeyTranslation::findOne(['key' => $key]);
        } else {
            return KeyTranslation::findOne(['key' => $key, 'data_interface_id' => $this->module->collectorItem->interfaceObject->primaryKey]);
        }
    }
protected function internalGetKeyTranslation(Model $foreignObject, $key)
    {
        if ($this->settings['universalKey']) {
            return KeyTranslation::findOne(['key' => $key]);
        } else {
            return KeyTranslation::findOne(['key' => $key, 'data_interface_id' => $this->module->collectorItem->interfaceObject->primaryKey]);
        }
    }
[[@doctodo method_description:internalGetKeyTranslation]].

@param cascade\components\dataInterface\connectors\generic\Model $foreignObject [[@doctodo param_description:foreignObject]]
@param [[@doctodo param_type:key]]                               $key           [[@doctodo param_description:key]]

@return [[@doctodo return_type:internalGetKeyTranslation]] [[@doctodo return_description:internalGetKeyTranslation]]