public function Import::import_all in Default Content 8
File
- src/
Import.php, line 26 - Contains \Drupal\defaultcontent\Import.
Class
- Import
- Converts a node to a config entity
Namespace
Drupal\defaultcontentCode
public function import_all() {
//@todo where do these come from?
drupal_set_message('script is unclear which items to import!');
return;
defaultcontent_import_multiple();
//this isn't the right route name for admin/content
return $this
->redirect('system.admin_content');
}