Setup/Install/DataMigrationHelper.php
private function saveAllOrderStatusesAsString()
    {
        $options = array_keys($this->orderConfig->getStatuses());
        $statusString = implode(',', $options);
        $this->config->saveConfig(
            \Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_SYNC_ORDER_STATUS,
            $statusString,
            'website',
            0
        );
    }
private function saveAllOrderStatusesAsString()
    {
        $options = array_keys($this->orderConfig->getStatuses());
        $statusString = implode(',', $options);
        $this->config->saveConfig(
            \Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_SYNC_ORDER_STATUS,
            $statusString,
            'website',
            0
        );
    }
private function saveAllOrderStatusesAsString ( ) { $ options = array_keys ( $ this -> orderConfig -> getStatuses ( ) ) ; $ statusString = implode ( ',' , $ options ) ; $ this -> config -> saveConfig ( \ Dotdigitalgroup \ Email \ Helper \ Config :: XML_PATH_CONNECTOR_SYNC_ORDER_STATUS , $ statusString , 'website' , 0 ) ; }
Get all order statuses and save in config
Get all order statuses and save in config