πŸ‡·πŸ‡ΊRussia @sergei_brill

Account created on 23 September 2012, almost 12 years ago
#

Recent comments

πŸ‡·πŸ‡ΊRussia sergei_brill

Random value is not an option because there is a chance rand can generate same values.

πŸ‡·πŸ‡ΊRussia sergei_brill

sergei_brill β†’ made their first commit to this issue’s fork.

πŸ‡·πŸ‡ΊRussia sergei_brill

@le72, it is here :)

πŸ‡·πŸ‡ΊRussia sergei_brill
  1. You need 2 bundles of entity type. It can be 2 node types: article and page.
  2. Configure form display for default form mode for each node type so, that it has different settings for the same field (for example, different widgets for Author).
  3. Create new custom form mode for nodes at /admin/structure/display-modes/form.
  4. Configure form display for the form mode from point 3 for each node type so, that it has different settings for the same field.
  5. Create node entries of each node type.
  6. Create a view listing nodes of all the types. The view must display fields from the point 2 and 4 (it can be the same field, actually) as editable.
  7. In the settings of the editable field in view select default form mode and save view. The view with nodes has to have different widgets for different node types. The widgets has to correspond to default form display (see point 2).
  8. In the settings of the editable field in view select form mode created in point 3 and save view. The view with nodes has to have different widgets for different node types. The widgets has to correspond to form display with this form mode (see point 4).
πŸ‡·πŸ‡ΊRussia sergei_brill

@jsacksick Good note about the backward compatibility. But you made release with this issue so fast so, I couldn't fix it in time :)
Just in case you want to keep \Drupal\commerce_product\ProductVariationListBuilder compatible with previous versions of commerce 2, there is one more MR.
PS Commit it to 8.x-2.x only, 3.0.x may have BC breaks, I think.

Production build 0.69.0 2024