public function WordPressPage::__construct in WordPress Migrate 7
Same name and namespace in other branches
- 7.2 wordpress_item.inc \WordPressPage::__construct()
Set it up
Overrides WordPressItemMigration::__construct
File
- ./
wordpress_item.inc, line 616 - 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['post_type'] = 'page';
$arguments['bundle'] = variable_get('wordpress_migrate_page_type', '');
parent::__construct($arguments);
$this->dependencies += array(
$this
->generateMachineName('WordPressBlogEntry'),
);
}