You are here

protected function ContentSyncManager::isValidFilename in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 src/ContentSyncManager.php \Drupal\content_sync\ContentSyncManager::isValidFilename()

Checks filename structure

Parameters

$filename:

Return value

bool

1 call to ContentSyncManager::isValidFilename()
ContentSyncManager::generateImportQueue in src/ContentSyncManager.php

File

src/ContentSyncManager.php, line 124

Class

ContentSyncManager

Namespace

Drupal\content_sync

Code

protected function isValidFilename($filename) {
  $parts = explode(static::DELIMITER, $filename);
  return count($parts) === 3;
}