Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2023 at 08:43 UTC
Updated:
26 Jul 2023 at 09:44 UTC
Jump to comment: Most recent
In #3123832: [META] Fix @todo items referencing closed issues we've discovered there's a @todo in \Drupal\form_test\Plugin\Block\RedirectFormBlock::getCacheMaxAge.
This @todo is linked to an d.o. issue that is already closed: #2351015: URL generation does not bubble cache contexts.
This is the @todo:
/**
* {@inheritdoc}
*
* @todo Make cacheable once https://www.drupal.org/node/2351015 lands.
*/
public function getCacheMaxAge() {
return 0;
}
Remove the getCacheMaxAge() in this class.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
spokjeComment #4
smustgrave commentedSimple change that didn't seem to break anything. Will mark for you.
Comment #5
catchCommitted 764e139 and pushed to 11.x. Thanks!