public function WordPressPage::__construct in WordPress Migrate 7.2
Same name and namespace in other branches
- 7 wordpress_item.inc \WordPressPage::__construct()
Set it up
Overrides WordPressItemMigration::__construct
File
- ./
wordpress_item.inc, line 889 - Support for migrating posts and pages from a WordPress blog into Drupal.
Class
- WordPressPage
- Implementation of WordPressMigration, for pages
Code
public function __construct(array $arguments = array()) {
$arguments['bundle'] = $arguments['page_type'];
$arguments['post_type'] = 'page';
parent::__construct($arguments);
}