Issue #3397027 add WorkflowButtonsWidget::validateElement to correctly set moderation_state
Closes #3397027
The OptionsWidgetBase::validateElemen
t method fails to correctly set the $form_state
for moderation_state
. This causes issues in ModerationStateFieldItemList->updateModeratedEntity
, preventing the detection of moderation state changes. Consequently, this leads to downstream issues with pathauto.