Provide link to node option
Overrides FieldPluginBase::buildOptionsForm
public function buildOptionsForm(&$form, &$form_state) {
$form['link_to_node'] = array(
'#title' => t('Link this field to the original piece of content'),
'#description' => t("Enable to override this field's links."),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_node']),
);
parent::buildOptionsForm($form, $form_state);
}