diff --git a/core/lib/Drupal/Core/HtmlPageController.php b/core/lib/Drupal/Core/HtmlPageController.php index 000e9abe483b190374ebf79aeabcb183f428e040..bfc6d578b62fddb84a59ee9971f44a201d25e14a 100644 --- a/core/lib/Drupal/Core/HtmlPageController.php +++ b/core/lib/Drupal/Core/HtmlPageController.php @@ -4,9 +4,21 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\DependencyInjection\ContainerAwareInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +class HtmlPageController implements ContainerAwareInterface { -class HtmlPageController { + /** + * The injection container for this object. + * + * @var ContainerInterface + */ + protected $container; + + public function setContainer(ContainerInterface $container = NULL) { + $this->container = $container; + } public function content(Request $request, $_content) {