Motivation: Performance improvement
To allowing having same form multiple times on a page via blocks or listing of entities we might add entity ids in the form id.
For examples
1. webform submission form https://git.drupalcode.org/project/webform/-/blob/6.x/src/WebformSubmiss...
2. Product add to cart form https://git.drupalcode.org/project/acquia_commercemanager/-/blob/8.x-1.x...
This means module_implements cache entry in cache bootstrap will be updated for each and every entity.
To avoid updating cache entry for each entity we allow the forms to stop invoking the alter hook for the dynamic form id, ideally these forms will already have the base_form_id set and alter hooks will be triggered for them. We will need to add this in the main form itself.
Add the following code (along with the patch) in the Form Plugin at very early stage to get benifit of this performance improvement.
$form['#skip_form_id_hook_alter'] = TRUE;
None
New key added in $form to allow skipping alter hook
None
TBD
Needs work
9.5
Last updated
It affects performance. It is often combined with the Needs profiling tag.
Enhances developer experience.
Used to track the progress of issues reviewed by the Drupal Needs Review Queue Initiative.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
It is used to alert the performance topic maintainer(s) that an issue significantly affects (or has the potential to affect) the performance of Drupal, and their signoff is needed. See the governance policy draft and Drupal Core gate - performance for more information.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.