Problem/Motivation

The js_example module shows how to attach JavaScript to the render array returned by a route. As such, it can be merged with the controller_example module.

Proposed resolution

Merge the js_example module into the controller_example module.

Issue fork examples-3594015

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

Assigned: Unassigned » avpaderno

  • avpaderno committed 1636677d on 5.0.x
    Issue #3594015: Merge js_example into controller_example
    
avpaderno’s picture

Status: Active » Needs review

I also fixed some issues in the controller_example code.

  • avpaderno committed 0133e751 on main
    Issue #3594015: Merge js_example into controller_example
    
avpaderno’s picture

Status: Needs review » 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

Status: Fixed » Closed (fixed)

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