Problem/Motivation

Example modules should implement hook_example_info() to be listed as example module. DescriptionTemplateTrait is no longer necessary.

Proposed resolution

  • Remove any usage of DescriptionTemplateTrait
  • If a controller class only exists to use that trait, that class should be removed
  • Remove all the description.html.twig files; if the templates directory contains just that file, delete the directory too
  • Deprecate the trait

Issue fork examples-3592340

Command icon Show commands

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

avpaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review
avpaderno’s picture

Status: Needs review » Reviewed & tested by the community

  • avpaderno committed 2142b468 on 5.0.x
    Issue #3592340: Remove any usage of DescriptionTemplateTrait
    
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

avpaderno’s picture

Assigned: avpaderno » Unassigned

  • avpaderno committed 518ed459 on 5.0.x
    Follow-up to #3592340: Removed further references to .description routes
    

  • avpaderno committed a443682a on main
    Follow-up to #3592340: Removed further references to .description routes
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.