You are here

public function MigrateSimpleContentParser::getChunk in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/files.inc \MigrateSimpleContentParser::getChunk()

Overrides MigrateContentParser::getChunk

File

plugins/sources/files.inc, line 46
Support for migration from files sources.

Class

MigrateSimpleContentParser
Simple parser that doesn't actually parse anything - it just returns the whole file as a single chunk. This is the default parser used and is primarily for when your HTML files map one-to-one to nodes.

Code

public function getChunk($id) {
  return $this->content;
}