eZ\Publish\Core\FieldType\Tests\RelationListTest::provideValidFieldSettings PHP Method

provideValidFieldSettings() public method

Returns an array of data provider sets with a single argument: A valid set of field settings. For example: return array( array( array(), ), array( array( 'rows' => 2 ) ), ... );
public provideValidFieldSettings ( ) : array
return array
    public function provideValidFieldSettings()
    {
        return array(array(array('selectionMethod' => RelationList::SELECTION_BROWSE, 'selectionDefaultLocation' => 23)), array(array('selectionMethod' => RelationList::SELECTION_DROPDOWN, 'selectionDefaultLocation' => 'foo')), array(array('selectionMethod' => RelationList::SELECTION_DROPDOWN, 'selectionDefaultLocation' => 'foo', 'selectionContentTypes' => array(1, 2, 3))));
    }