protected function SystemListingInfo::processFile

Overrides Drupal\Core\SystemListing::processFile().

Overrides SystemListing::processFile

File

drupal/core/lib/Drupal/Core/SystemListingInfo.php, line 75
Definition of Drupal\Core\SystemListingInfo.

Class

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

Namespace

Drupal\Core

Code

protected function processFile($file) {
  $file->name = basename($file->name, '.info');
}