The \Drupal\form_example\Form\BuildDemo class has been removed in #3593852: Remove the \Drupal\form_example\Form\BuildDemo class, but a route still uses it.

form_example.build_demo:
  path: '/examples/form-example/build-demo'
  defaults:
    _form: '\Drupal\form_example\Form\BuildDemo'
    _title: 'Build form demo'
  requirements:
    _permission: 'access content'

That route needs to be removed.

Issue fork examples-3631121

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

mlncn created an issue. See original summary.

avpaderno’s picture

Title: BuildDemo class does not exist (indeed not defined) in Form Example » The BuildDemo class has been removed but it still used from a route
Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review
avpaderno’s picture

Status: Needs review » Reviewed & tested by the community

  • avpaderno committed 17a3d5e4 on 5.0.x
    Issue #3631121: The BuildDemo class has been removed but it still used...
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.

Status: Fixed » Closed (fixed)

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