public function MigrateSimpleContentParser::getChunkIDs in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/sources/files.inc \MigrateSimpleContentParser::getChunkIDs()
Return the list of IDs for all the chunks found in the current file.
Unless $alwaysUseChunkIDs is set to TRUE, this is only called if getChunkCount() returned a count greater than 1.
Return value
An array of IDs.
Overrides MigrateContentParser::getChunkIDs
File
- plugins/
sources/ files.inc, line 100 - 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 getChunkIDs() {
return array(
'1',
);
}