You are here

public function WordPressBlogEntry::__construct in WordPress Migrate 7

Same name and namespace in other branches
  1. 7.2 wordpress_item.inc \WordPressBlogEntry::__construct()

Set it up

Overrides WordPressItemMigration::__construct

File

./wordpress_item.inc, line 605
Support for migrating posts and pages from a WordPress blog into Drupal.

Class

WordPressBlogEntry
Implementation of WordPressMigration, for blog entries

Code

public function __construct(array $arguments = array()) {
  $arguments['post_type'] = 'post';
  $arguments['bundle'] = variable_get('wordpress_migrate_post_type', '');
  parent::__construct($arguments);
}