Issue #1356824 by Adagio, Alan D., joachim, tim.plunkett: Fixed No way for hook_field_widget_form_alter() to know if it is on a form or in defaults.