FieldDefinition has been renamed to BaseFieldDefinition.
Merge pull request #31 from Jbekker/8.x-2.x

FieldDefinition is renamed to BaseFieldDefinition, Use routes in the entity type preprocess functions