function lightning_scheduler_field_widget_info_alter in Lightning Scheduler 8
Implements hook_field_widget_info_alter().
File
- ./
lightning_scheduler.module, line 111
Code
function lightning_scheduler_field_widget_info_alter(array &$info) {
// Make the moderation state basefield widget use our plugin class.
if (!empty($info['moderation_state_default'])) {
$info['moderation_state_default']['class'] = ModerationStateWidget::class;
}
}