Finish conversion of bigpipe, block, and block_content

Created on 2 May 2025, 10 days ago

Problem/Motivation

Preprocess and template preprocess recently were able to be converted.
Some hooks were missed too.

Steps to reproduce

Proposed resolution

Convert what is missing, if the MR is small consider DI and organization.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @nicxvan
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan

    Changes are stacking up, I'm restricting this to two modules

  • Merge request !12011Resolve #3522361 "Finish conversion of" β†’ (Open) created by nicxvan
  • Pipeline finished with Failed
    10 days ago
    Total: 226s
    #487030
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan

    Still got some work to do on block, but this is getting close I think.

  • Pipeline finished with Failed
    10 days ago
    Total: 275s
    #487036
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan

    nicxvan β†’ changed the visibility of the branch 3522361-finish-conversion-of to hidden.

  • Merge request !12022Resolve #3522361 "Hook conversion a" β†’ (Open) created by nicxvan
  • Pipeline finished with Canceled
    10 days ago
    Total: 126s
    #487371
  • Pipeline finished with Failed
    10 days ago
    Total: 152s
    #487372
  • Pipeline finished with Failed
    10 days ago
    Total: 644s
    #487387
  • Pipeline finished with Failed
    7 days ago
    Total: 159s
    #488722
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan

    Ok I need to actually write the CR.

    I'm not sure how I feel about making it protected, it is technically api now, not sure why we want to restrict this further.

    I also am not sure about the deprecation message either.

  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    > I'm not sure how I feel about making it protected, it is technically api now, not sure why we want to restrict this further.

    I think we similar discussions before.

    Not every function is automatically an API, reducing API surface isn't a bad thing (for things that aren't useful). Making it protected/internal means it's easier to change and refactor it in the future.

    There are no known calls (just one reference for someone doing something similar, it's just a way to share the code between the two hooks. It's exactly like what is done in πŸ“Œ Clean up hook implementations in the Taxonomy module Active .

  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    coding standards failed.

  • Pipeline finished with Failed
    6 days ago
    #490273
  • Pipeline finished with Failed
    about 9 hours ago
    Total: 199s
    #494524
  • Pipeline finished with Success
    about 9 hours ago
    #494527
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    About the CR and things being removed without replacement, search for "There is no replacement". tons of deprecations like that, for example node_mark(), which has this CR: https://www.drupal.org/node/3514189 β†’

    Personally, I'd not even bother with a CR and see if someone would prefer to have one. For me, with change records, it's always a question of value vs noise. There's not much useful that we could write except that you'd need to copy paste the code, which seems obvious, and the fact that there are no known usages on that. On the other side is the noise: dozens to hundreds of people will see some kind of notification, like a tweet, toot or whatever. But that's my personal opinion and the documentation page about that is still a bit vague.

Production build 0.71.5 2024