- @joegraduate opened merge request.
- πΊπΈUnited States joegraduate Arizona, USA
joegraduate β changed the visibility of the branch 3199682-create-a-default to hidden.
- Status changed to Needs review
3 months ago 2:13am 10 August 2024 - πΊπΈUnited States mlncn Minneapolis, MN, USA
This is needs review now? Looks great to me! So many contrib modules need to try to add this, not knowing if another module already has; having core do it would be so much better!
- Status changed to Needs work
3 months ago 2:58pm 14 August 2024 - πΊπΈUnited States smustgrave
#14 mentions a change record so moving to NW for that.
Thanks for keeping this one going.
- Status changed to Needs review
3 months ago 4:37pm 14 August 2024 - πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Added a draft change record https://www.drupal.org/node/3468153 β , Hopefully I understand the issue well enough.
- Status changed to RTBC
3 months ago 6:01pm 14 August 2024 - πΊπΈUnited States smustgrave
Think that's probably one of the most detailed CR's I've seen nice!
Tested the MR to make sure no task appears when just 1 and everything still works when a module like content moderation is installed.
LGTM
- π¬π§United Kingdom jonathan1055
Thank you for pushing this forward. Just a few points:
- The Change Record credits me, Joegraduate and Catch. But I can't see any mention of Catch here in the issue. In fact I did not know that CRs had credits
- The Issue is crediting Joegraduate and Bkosborne. I think Bkosborne should also be listed in the Change Record
- What discussion do we need regarding back-porting to Drupal 10? It should be possible, and would be highly desirable. Then modules such as Scheduler and others that created their own task would be more able to do the update to remove their duplicate
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
1 + 2 Deleted the credits on the change record.
3. Whatever you all decide is fine with me in terms of backporting. If we are willing to make this kind of change in a patch release for 11.x why not for 10.x - π³πΏNew Zealand quietone
Thanks for the details change record!
I read the issue summary, comments, MR and CR. Everything is in good order. There is just one question here, about BC, mentioned in #15. There is nothing about this is the 'how to deprecate' β .
I updated the credit here.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
There's been a couple of mentions of BC here for sites using contrib modules or profiles that provide their own version of this.
I think we can easily add code to
\Drupal\Core\Menu\LocalTaskManager::getDefinitions
that filters the definitions where parent_id = system.admin_content, title = 'Overview' and route_name: = system.admin_content. If it finds more than one, it can trigger a deprecation error.Question is, is that overkill?
Setting back to NR for second opinions on this.
- πΊπΈUnited States smustgrave
Probably the more "proper" way to officially throw a deprecation error.