Created
July 12, 2018 19:38
-
-
Save kevinquillen/123047e7740e7e0edbc1b8ad3fbc7823 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 | |
/** | |
* Class ResourceNotFoundController. | |
*/ | |
class ResourceNotFoundController extends ControllerBase { | |
/** | |
* Display the Resource Not Found message. | |
* | |
* @return array | |
* Return page content. | |
*/ | |
public function index() { | |
return [ | |
'#type' => 'markup', | |
'#markup' => $this->t('Content located in (theme)/templates/page--resource-not-found.html.twig.') | |
]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment