The \Drupal\rest_example\Controller\RestExampleHelpController class extends \Drupal\Core\Controller\ControllerBase, but it does not use any of the inherited methods.

Instead of extending ControllerBase, RestExampleHelpController should just implement \Drupal\Core\DependencyInjection\ContainerInjectionInterface.

Issue fork examples-3458360

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

apaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed 0b0cd2e0 on 4.0.x
    Issue #3458360: Do not use ControllerBase as parent class for...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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