Skip to content

Create a rule for missing cacheability parameter in entity list builder sub classes #930

@mxr576

Description

@mxr576

Feature request

There is do deprecation triggered at runtime when a custom entity list builder implementation does not bubble up cacheability information for operations and default operations. I think it would make sense creating a PHPStan rule for checking method signatures and complaining when the cacheability information is not collected and passed around.

Related change record: https://www.drupal.org/node/3533080

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions