Problem/Motivation
Related to https://www.drupal.org/project/monitoring/issues/3300451 I try to rebuild the list, all method are called, also the entity configuration ->save(), but it seems the list doesn't refresh. I need to uninstall then reinstall the module to see the updated list.
Steps to reproduce
Edit monitoring/src/Sensor/SensorManager.php @see rebuildSensors()
call initialize_requirements_sensors() with a random module name
refresh list
Proposed resolution
Why instead of having a 'build sensor list' we don't have a plugin Derivatives with all hook requirements ?
Comments
Comment #2
berdirrebuild is working perfectly fine for us.
derivatives vs plugin configuration doesn't change anything, you still need config entities for the corresponding plugin derivative or plugin with config.