eZ\Publish\Core\MVC\Symfony\FieldType\Tests\RichText\RendererTest::providerForTestRenderLocationWithTemplate PHP Method

providerForTestRenderLocationWithTemplate() public method

    public function providerForTestRenderLocationWithTemplate()
    {
        $locationId = 42;
        return array(array(false, new AccessDeniedException(), array(array('hasParameter', $namespace = 'test.name.space.embed.location_denied', true), array('getParameter', $namespace, array('template' => $templateName = 'templateName1'))), array(array('error', "Could not render embedded resource: access denied to embed Location #{$locationId}")), $templateName, $templateName, 'result'), array(true, new AccessDeniedException(), array(array('hasParameter', $namespace = 'test.name.space.embed.location_inline_denied', true), array('getParameter', $namespace, array('template' => $templateName = 'templateName2'))), array(array('error', "Could not render embedded resource: access denied to embed Location #{$locationId}")), $templateName, $templateName, 'result'), array(false, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location', true), array('getParameter', $namespace, array('template' => $templateName = 'templateName3'))), array(), $templateName, $templateName, 'result'), array(true, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location_inline', true), array('getParameter', $namespace, array('template' => $templateName = 'templateName4'))), array(), $templateName, $templateName, 'result'), array(false, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location', false), array('hasParameter', $namespace2 = 'test.name.space.embed.default', true), array('getParameter', $namespace2, array('template' => $templateName = 'templateName5'))), array(array('warning', "Embed tag configuration '{$namespace}' was not found")), $templateName, $templateName, 'result'), array(true, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location_inline', false), array('hasParameter', $namespace2 = 'test.name.space.embed.default_inline', true), array('getParameter', $namespace2, array('template' => $templateName = 'templateName6'))), array(array('warning', "Embed tag configuration '{$namespace}' was not found")), $templateName, $templateName, 'result'), array(false, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location', false), array('hasParameter', $namespace2 = 'test.name.space.embed.default', false)), array(array('warning', "Embed tag configuration '{$namespace}' was not found"), array('warning', "Embed tag default configuration '{$namespace2}' was not found")), null, null, null), array(true, null, array(array('hasParameter', $namespace = 'test.name.space.embed.location_inline', false), array('hasParameter', $namespace2 = 'test.name.space.embed.default_inline', false)), array(array('warning', "Embed tag configuration '{$namespace}' was not found"), array('warning', "Embed tag default configuration '{$namespace2}' was not found")), null, null, null));
    }