Is it possible to create an action in Drupal 8 and point it at a deriver class to generate them automatically?
For example with Custom Publishing Options I have a ConfigurableActionBase action that lets a user create an advanced action, select the publishing option and the value, and save the action.
Ideally, I would like to have a generic action derived from all existing publishing options so that admins don't have to create the action manually every time they add a new custom publishing option. Along with that, if they deleted the entity, I would want the action to be removed as well.
I was able to create a class extended DeriverBase and define plugin derivatives, but was having issues getting it to pick up in my class extending ActionBase with deriver set in the annotation. My example code is on my home laptop, will post it when I have a chance.