Created
January 20, 2014 22:14
-
-
Save kimpepper/8530347 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\page_example\Controller; | |
use Drupal\Core\Controller\ControllerBase; | |
class PageExampleController extends ControllerBase { | |
public function example() { | |
return array( | |
'#markup' => '<p>' . $this->t('This is some content') . '</p>', | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment