You are here

public function ImceFM::scanDir in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/ImceFM.php \Drupal\imce\ImceFM::scanDir()

Returns the contents of a directory.

File

src/ImceFM.php, line 355

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function scanDir($diruri, array $options = []) {
  $options += [
    'name_filter' => $this
      ->getNameFilter(),
  ];
  $scanner = $this
    ->getConf('scanner', 'Drupal\\imce\\Imce::scanDir');
  return call_user_func($scanner, $diruri, $options);
}