I am constructing a small customized module and I ought to in some way prolong default consumer entity by including about 20 extra fields to it.
I positioned Consumer class definitions from Drupal folder (drupal-8.1.8coremodulesusersrcEntityUser.php). There I can see subject definitions however that is not proper place to do modification for certain 🙂
Additionally, I suppose I ought to add Consumer module as a dependency to my customized module, though consumer module is a part of Drupal Development Service core?
I’ve carried out some analysis and I feel I ought to implement a plugin, however I do not understand how precisely and what plugin interface to implement and so on.