protected function MediaSourceOEmbedVideoTest::initConfig in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php \Drupal\Tests\media\FunctionalJavascript\MediaSourceOEmbedVideoTest::initConfig()
Initialize various configurations post-installation.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.
Overrides FunctionalTestSetupTrait::initConfig
File
- core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceOEmbedVideoTest.php, line 42
Class
- MediaSourceOEmbedVideoTest
- Tests the oembed:video media source.
Namespace
Drupal\Tests\media\FunctionalJavascriptCode
protected function initConfig(ContainerInterface $container) {
parent::initConfig($container);
// Enable twig debugging to make testing template usage easy.
$parameters = $container
->getParameter('twig.config');
$parameters['debug'] = TRUE;
$this
->setContainerParameter('twig.config', $parameters);
}