public function Importer::__construct in Feeds Paragraphs 8
File
- src/
Importer.php, line 77
Class
Namespace
Drupal\feeds_para_mapperCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $field_manager, Mapper $mapper) {
$this->language = LanguageInterface::LANGCODE_DEFAULT;
$this->field_manager = $field_manager;
$this->mapper = $mapper;
try {
$this->paragraph_storage = $entity_type_manager
->getStorage('paragraph');
} catch (\Exception $e) {
throw $e;
}
}