public static function FeedImportConfigurable::cleanLines in Feed Import 8
Helper function to get lines of a string
Parameters
string $str: The string to get non empty lines from
Return value
array An array of strings
4 calls to FeedImportConfigurable::cleanLines()
- DomXMLFIReader::init in feed_import_base/
src/ DomXMLFIReader.php - Here you'll init your reader.
- FeedImportMultiFilter::setOptions in feed_import_base/
src/ FeedImportMultiFilter.php - Sets options for this instance
- SimpleXMLFIReader::init in feed_import_base/
src/ SimpleXMLFIReader.php - Here you'll init your reader.
- SQLFIReader::init in feed_import_base/
src/ SQLFIReader.php - Here you'll init your reader.
File
- feed_import_base/
src/ FeedImportConfigurable.php, line 38
Class
- FeedImportConfigurable
- This class provides methods to set options.
Namespace
Drupal\feed_import_baseCode
public static function cleanLines($str) {
return preg_split('/\\r?\\n/', $str);
}