container_initialize.module
File
-
core/
modules/ system/ tests/ modules/ container_initialize/ container_initialize.module
View source
<?php
/**
* @file
* Used to test bare container calls in .module files.
*/
declare (strict_types=1);
\Drupal::getContainer()->getParameter('site.path');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.