abstract protected function MigrateFileFieldBaseHandler::buildFieldArray in Migrate 7.2
Add any type-specific subfields to a file field array.
Parameters
$field_array: The field array so far (generally will just contain a fid).
$arguments: Array of arguments passed to the field handler, from which we'll extract our own subfields.
$delta: Index of field values being worked on, for pulling the corresponding subfield values if we have an array of them.
1 call to MigrateFileFieldBaseHandler::buildFieldArray()
- MigrateFileFieldBaseHandler::prepare in plugins/
destinations/ fields.inc - Implementation of MigrateFieldHandler::prepare().
2 methods override MigrateFileFieldBaseHandler::buildFieldArray()
- MigrateFileFieldHandler::buildFieldArray in plugins/
destinations/ fields.inc - Implementation of MigrateFileFieldBaseHandler::buildFieldArray().
- MigrateImageFieldHandler::buildFieldArray in plugins/
destinations/ fields.inc - Implementation of MigrateFileFieldBaseHandler::buildFieldArray().
File
- plugins/
destinations/ fields.inc, line 794 - Support for processing entity fields
Class
- MigrateFileFieldBaseHandler
- The next generation of file field handler. This class focuses on the file field itself, and offloads understanding of obtaining the actual file and dealing with the file entity to an embedded MigrateFileInterface instance.
Code
protected abstract function buildFieldArray($field_array, $arguments, $delta);