Default options form that provides the label widget that all fields should have.
Overrides TokenizeAreaPluginBase::buildOptionsForm
public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
$options = $this
->buildViewModeOptions();
$form['view_mode'] = array(
'#type' => 'select',
'#options' => $options,
'#title' => t('View mode'),
'#default_value' => $this->options['view_mode'],
);
$form['entity_id'] = array(
'#title' => t('ID'),
'#type' => 'textfield',
'#default_value' => $this->options['entity_id'],
);
}