You are here

protected function ContentExportController::_getBundleName in Content Export YAML 8

1 call to ContentExportController::_getBundleName()
ContentExportController::view in src/Controller/ContentExportController.php
Handles html requests.

File

src/Controller/ContentExportController.php, line 72

Class

ContentExportController
Class ContentExportController.

Namespace

Drupal\content_export_yaml\Controller

Code

protected function _getBundleName($result) {
  $root_folder = dirname($result);
  return basename($root_folder);
}