function lightning_scheduler_update_8002 in Lightning Workflow 8.3
Same name and namespace in other branches
- 8.2 modules/lightning_scheduler/lightning_scheduler.install \lightning_scheduler_update_8002()
Refreshes the field widget plugin definition cache.
File
- modules/
lightning_scheduler/ lightning_scheduler.install, line 86 - Contains installation and update hooks for Lightning Scheduler.
Code
function lightning_scheduler_update_8002() {
Drupal::service('plugin.manager.field.widget')
->clearCachedDefinitions();
}