function lightning_scheduler_update_8002 in Lightning Workflow 8.2
Same name and namespace in other branches
- 8.3 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 81
Code
function lightning_scheduler_update_8002() {
Drupal::service('plugin.manager.field.widget')
->clearCachedDefinitions();
}