protected function ContentSyncManager::isValidFilename in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 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;
}