/**
 * Implements hook_views_plugins_relationship_alter().
 */
function {{ machine_name }}_views_plugins_relationship_alter(array &$plugins) {
  // Change the 'title' handler class.
  $plugins['title']['class'] = 'Drupal\\example\\ExampleClass';
}
