eZ\Publish\Core\REST\Server\Tests\Input\Parser\FieldDefinitionCreateTest::getInputArray PHP Method

getInputArray() protected method

Returns the array under test.
protected getInputArray ( ) : array
return array
    protected function getInputArray()
    {
        return array('identifier' => 'title', 'fieldType' => 'ezstring', 'fieldGroup' => 'content', 'position' => '1', 'isTranslatable' => 'true', 'isRequired' => 'true', 'isInfoCollector' => 'true', 'isSearchable' => 'true', 'defaultValue' => 'New title', 'names' => array('value' => array(array('_languageCode' => 'eng-US', '#text' => 'Title'))), 'descriptions' => array('value' => array(array('_languageCode' => 'eng-US', '#text' => 'This is the title'))), 'fieldSettings' => array('textRows' => 24), 'validatorConfiguration' => array('StringLengthValidator' => array('minStringLength' => '12', 'maxStringLength' => '24')));
    }