lib/components/types/Module.php
public function loadFieldLink($field, $object, $typeMatch = true)
    {
        if ($this->hasDashboard) {
            $field->url = ['/object/view', $object->id];
            if (!$typeMatch) {
                // what is being displayed isn't the same type as what is being linked to. put helper title.
                //		example: linking to an Individual from one of their phone numbers
                $field->linkOptions['title'] = $object->descriptor;
            }
        }
    }
public function loadFieldLink($field, $object, $typeMatch = true)
    {
        if ($this->hasDashboard) {
            $field->url = ['/object/view', $object->id];
            if (!$typeMatch) {
                // what is being displayed isn't the same type as what is being linked to. put helper title.
                //		example: linking to an Individual from one of their phone numbers
                $field->linkOptions['title'] = $object->descriptor;
            }
        }
    }
[[@doctodo method_description:loadFieldLink]].

@param [[@doctodo param_type:field]]  $field     [[@doctodo param_description:field]]
@param [[@doctodo param_type:object]] $object    [[@doctodo param_description:object]]
@param boolean                        $typeMatch [[@doctodo param_description:typeMatch]] [optional]