You are here

function sweaverThemeSettings::sweaver_filesdir_scan in Sweaver 6

Same name and namespace in other branches
  1. 7 tests/sweaver.themesettings.test \sweaverThemeSettings::sweaver_filesdir_scan()

Scan the files directory.

2 calls to sweaverThemeSettings::sweaver_filesdir_scan()
sweaverThemeSettings::buildStyleConfiguration in tests/sweaver.themesettings.test
Build form, form_state values and copy files when necessary.
sweaverThemeSettings::sweaverSaveStyle in tests/sweaver.themesettings.test
Save a style.

File

tests/sweaver.themesettings.test, line 49
Advanced tests for sweaver editor + theme settings.

Class

sweaverThemeSettings
@file Advanced tests for sweaver editor + theme settings.

Code

function sweaver_filesdir_scan() {
  $files = scandir(file_directory_path() . '/sweaver');
  $this
    ->_debugHelper($files);
}