Hot answers tagged

1

Entity forms usually run as first submit handler the entity builder functions. Then following submit handlers can get the processed field values directly from the form object entity: $entity = $form_state->getFormObject()->getEntity(); $field_values = $entity->field_foo->getValue();


Only top voted, non community-wiki answers of a minimum length are eligible