+ $data['comment_field_data']['entity_id']['field']['id'] = 'commented_entity';
+ unset($data['comment_field_data']['entity_id']['relationship']);
+
+ $data['comment']['comment_bulk_form'] = [
+ 'title' => $this->t('Comment operations bulk form'),
+ 'help' => $this->t('Add a form element that lets you run operations on multiple comments.'),
+ 'field' => [
+ 'id' => 'comment_bulk_form',
+ ],
+ ];
+