+ // Note this now includes disabled types too. The only place this
+ // function is being used is for comparison against a list, not
+ // displaying a dropdown list or something like that, so we need
+ // to include disabled.
+ $relationshipInfo = civicrm_api3('RelationshipType', 'get', [
+ 'options' => ['limit' => 0],
+ ]);