protected function SystemListing::process

Process the files to add before adding them.

Parameters

array $files: Every file found so far.

array $files_to_add: The files found in a single directory.

Return value

array The processed list of file objects. For example, the SystemListingInfo class removes files not compatible with the current core version.

1 call to SystemListing::process()
SystemListing::scan in drupal/core/lib/Drupal/Core/SystemListing.php
Returns information about system object files (modules, themes, etc.).
1 method overrides SystemListing::process()

File

drupal/core/lib/Drupal/Core/SystemListing.php, line 144
Definition of Drupal\Core\SystemListing.

Class

SystemListing
Returns information about system object files (modules, themes, etc.).

Namespace

Drupal\Core

Code

protected function process(array $files, array $files_to_add) {
  return $files_to_add;
}