You are here

protected function ContentExportController::_getEntityType in Content Export YAML 8

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

File

src/Controller/ContentExportController.php, line 76

Class

ContentExportController
Class ContentExportController.

Namespace

Drupal\content_export_yaml\Controller

Code

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