Implements hook_entity_base_field_info_alter().
function paragraphs_entity_base_field_info_alter(&$fields, EntityTypeInterface $entity_type) {
// Since the paragraph entity doesn't have uid fields anymore, remove the
// content_translation_uid from the field definitions.
if ($entity_type
->id() == 'paragraph' && isset($fields['content_translation_uid'])) {
unset($fields['content_translation_uid']);
}
}