controller/common/src/Controller/Common/Product/Import/Csv/Processor/Catalog/Standard.php
protected function addListItemDefaults( array $list, $pos )
	{
		if( !isset( $list['catalog.lists.position'] ) ) {
			$list['catalog.lists.position'] = $pos;
		}

		if( !isset( $list['catalog.lists.status'] ) ) {
			$list['catalog.lists.status'] = 1;
		}

		return $list;
	}
protected function addListItemDefaults( array $list, $pos )
	{
		if( !isset( $list['catalog.lists.position'] ) ) {
			$list['catalog.lists.position'] = $pos;
		}

		if( !isset( $list['catalog.lists.status'] ) ) {
			$list['catalog.lists.status'] = 1;
		}

		return $list;
	}
protected function addListItemDefaults ( array $ list , $ pos ) { if ( ! isset ( $ list [ 'catalog.lists.position' ] ) ) { $ list [ 'catalog.lists.position' ] = $ pos ; } if ( ! isset ( $ list [ 'catalog.lists.status' ] ) ) { $ list [ 'catalog.lists.status' ] = 1 ; } return $ list ; }
Adds the list item default values and returns the resulting array

@param array $list Associative list of domain item keys and their values, e.g. "catalog.lists.status" => 1
@param integer $pos Computed position of the list item in the associated list of items
@return array Given associative list enriched by default values if they were not already set
Adds the list item default values and returns the resulting array