You are here

public function WordPressBlogEntry::__construct in WordPress Migrate 7.2

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

Set it up

Overrides WordPressItemMigration::__construct

File

./wordpress_item.inc, line 878
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['bundle'] = $arguments['post_type'];
  $arguments['post_type'] = 'post';
  parent::__construct($arguments);
}