Problem/Motivation

Steps to reproduce

Install Drupal 11.4. Git clone the examples module into web/modules/contrib. Enable all the examples modules using drush or in the UI.

Proposed resolution

Fix the errors that appear, relating to namespacing of MainPage.php controller and 2x hook files inside examples/src/. Fix the typos in the namespace declarations. Change 'toolbar_example' to 'examples'.

Remaining tasks

Once the namespaces are corrected, re-try enabling all the examples modules. Fix any new errors that appear related to namespacing.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork examples-3614342

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

oily created an issue. See original summary.

ironnuts’s picture

Issue summary: View changes
ironnuts’s picture

Status: Active » Needs review

avpaderno made their first commit to this issue’s fork.

  • avpaderno committed bc76fd6d on 5.0.x
    Issue #3614342: Incorrect namespace declarations
    
ironnuts’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 committed ac6d22ef on main
    Issue #3614342: Incorrect namespace declarations
    
avpaderno’s picture

Status: Fixed » Closed (fixed)

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