Implements Drupal\Core\Config\StorageInterface::listAll().
Overrides FileStorage::listAll
public function listAll($prefix = '') {
$names = array_keys($this
->getAllFolders());
if (!$prefix) {
return $names;
}
else {
$return = array();
foreach ($names as $index => $name) {
if (strpos($name, $prefix) === 0) {
$return[$index] = $names[$index];
}
}
return $return;
}
}