PHP Class eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension\FieldRenderingExtensionIntegrationTest

Inheritance: extends FileSystemTwigIntegrationTestCase
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
getExtensions ( )
getFieldDefinition ( $typeIdentifier, $id = null, $settings = [] )
getFixturesDir ( )

Protected Methods

Method Description
getContent ( string $contentTypeIdentifier, array $fieldsData, array $namesData = [] ) : Content Creates content with initial/main language being fre-FR.
getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject

Private Methods

Method Description
getConfigResolverMock ( )
getTemplatePath ( $tpl )

Method Details

getContent() protected method

Creates content with initial/main language being fre-FR.
protected getContent ( string $contentTypeIdentifier, array $fieldsData, array $namesData = [] ) : Content
$contentTypeIdentifier string
$fieldsData array
$namesData array
return eZ\Publish\Core\Repository\Values\Content\Content

getContentTypeServiceMock() protected method

protected getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getExtensions() public method

public getExtensions ( )

getFieldDefinition() public method

public getFieldDefinition ( $typeIdentifier, $id = null, $settings = [] )

getFixturesDir() public method

public getFixturesDir ( )