function GetFilenameTest::register
Overrides KernelTestBase::register
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ GetFilenameTest.php, line 23
Class
- GetFilenameTest
- Tests that drupal_get_filename() works correctly.
Namespace
Drupal\KernelTests\Core\BootstrapCode
public function register(ContainerBuilder $container) {
parent::register($container);
// Use the testing install profile.
$container->setParameter('install_profile', 'testing');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.