You are here

public function CustomEntityField::buildOptionsForm in CiviCRM Entity 8.3

Default options form that provides the label widget that all fields should have.

Overrides EntityField::buildOptionsForm

File

src/Plugin/views/field/CustomEntityField.php, line 117

Class

CustomEntityField
A field that displays entity field data for custom fields.

Namespace

Drupal\civicrm_entity\Plugin\views\field

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildOptionsForm($form, $form_state);
  unset($form['click_sort_column']);
}