protected function ContentSyncManager::isValidFilename in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/ContentSyncManager.php \Drupal\content_sync\ContentSyncManager::isValidFilename()
Checks filename structure
Parameters
$filename:
Return value
bool
1 call to ContentSyncManager::isValidFilename()
File
- src/
ContentSyncManager.php, line 124
Class
Namespace
Drupal\content_syncCode
protected function isValidFilename($filename) {
$parts = explode(static::DELIMITER, $filename);
return count($parts) === 3;
}