Line 47 should read:

* To see the plugins in action visit /examples/plugin-type-example.

not

* To see the plugins in action visit /examples/plugin_type_example.

plugin_type_example.routing.yml:

# This defines our example page's path to the routing system.
plugin_type_example.description:
  path: '/examples/plugin-type-example'
  defaults:
    _controller: '\Drupal\plugin_type_example\Controller\PluginTypeExampleController::description'
    _title: 'Plugin Type Example'
  requirements:
    _permission: 'access content'
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zerbash created an issue. See original summary.

zerbash’s picture

jungle’s picture

Version: 8.x-1.x-dev » 3.x-dev
Status: Active » Needs review

Thanks @zerbash! Nice catch! Now the default branch is 3.x-dev.

valthebald’s picture

  • valthebald committed 2013884 on 3.x
    Issue #3144553 by zerbash: Incorrect route in plugin_type_example.module...
valthebald’s picture

Status: Needs review » Fixed

@zerbash: committed to 3.x-dev, thank you!

Status: Fixed » Closed (fixed)

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