abstract public function MigrateDestination::fields in Migrate 6.2
Same name and namespace in other branches
- 7.2 includes/destination.inc \MigrateDestination::fields()
Derived classes must implement fields(), returning a list of available destination fields.
Return value
array Keys: machine names of the fields (to be passed to addFieldMapping) Values: Human-friendly descriptions of the fields.
6 methods override MigrateDestination::fields()
- MigrateDestinationComment::fields in plugins/
destinations/ comment.inc - Returns a list of fields available to be mapped for comments attached to a particular bundle (node type)
- MigrateDestinationNode::fields in plugins/
destinations/ node.inc - Returns a list of fields available to be mapped for the node type (bundle)
- MigrateDestinationTable::fields in plugins/
destinations/ table.inc - Returns a list of fields available to be mapped.
- MigrateDestinationTableCopy::fields in plugins/
destinations/ table_copy.inc - Derived classes must implement fields(), returning a list of available destination fields.
- MigrateDestinationTerm::fields in plugins/
destinations/ term.inc - Returns a list of fields available to be mapped for this vocabulary (bundle)
File
- includes/
destination.inc, line 41 - Defines base for migration destinations.
Class
- MigrateDestination
- Abstract base class for destination handling.
Code
public abstract function fields();