eZ\Publish\Core\FieldType\Tests\RichTextTest::getFieldType PHP Method

getFieldType() protected method

protected getFieldType ( ) : Type
return eZ\Publish\Core\FieldType\RichText\Type
    protected function getFieldType()
    {
        $fieldType = new RichTextType(new Validator(array($this->getAbsolutePath('eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/ezpublish.rng'), $this->getAbsolutePath('eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/docbook.iso.sch.xsl'))), new ConverterDispatcher(array('http://docbook.org/ns/docbook' => null)), new Aggregate(), new ValidatorDispatcher(array('http://docbook.org/ns/docbook' => null)));
        $fieldType->setTransformationProcessor($this->getTransformationProcessorMock());
        return $fieldType;
    }