You are here

protected function ContentExportManagerForm::_getEntityType in Content Export YAML 8

2 calls to ContentExportManagerForm::_getEntityType()
ContentExportManagerForm::buildForm in src/Form/ContentExportManagerForm.php
Form constructor.
ContentExportManagerForm::importElement in src/Form/ContentExportManagerForm.php

File

src/Form/ContentExportManagerForm.php, line 218

Class

ContentExportManagerForm
Class ConfigImportForm.

Namespace

Drupal\content_export_yaml\Form

Code

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