I need to override the block configuration form in Drupal 8.
To override the configuration form for a new block we are creating can be done by implementing BlockBase::buildConfigurationForm method.
But I need to alter the configuration form for all the blocks which means overriding the
BlockBase class. How can I implement this?
Is there a generic way to override all
Drupal Core classes?