You are here

function wordpress_migrate_stream_wrappers in WordPress Migrate 7

Same name and namespace in other branches
  1. 7.2 wordpress_migrate.module \wordpress_migrate_stream_wrappers()

Implements hook_stream_wrappers().

File

./wordpress_migrate.module, line 81
API and drush commands to support migration of data from WordPress into a Drupal installation.

Code

function wordpress_migrate_stream_wrappers() {
  $wrappers = array(
    'wordpress' => array(
      'name' => t('Uploaded wordpress files'),
      'class' => 'WordpressMigrateStreamWrapper',
      'description' => t('Uploaded WordPress WXR dumps for import - not to be seen by the world.'),
      'type' => STREAM_WRAPPERS_LOCAL_HIDDEN,
    ),
  );
  return $wrappers;
}