public function Controller::helloAction

Plugin annotation


@Route("/hello/{name}", name="_demo_hello")
@Template()

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/Fixtures/Controller.php, line 27

Class

Controller
@Route("/someprefix") @author Johannes M. Schmitt <schmittjoh@gmail.com>

Namespace

Doctrine\Tests\Common\Annotations\Fixtures

Code

public function helloAction($name) {
  return array(
    'name' => $name,
  );
}