You are here

public function DrupalFieldablePanelsPanesMigration::prepareRow in Fieldable Panels Panes (FPP) 7

Default implementation of prepareRow(). This method is called from the source plugin upon first pulling the raw data from the source.

Parameters

$row: Object containing raw source data.

Return value

bool TRUE to process this row, FALSE to have the source skip it.

Overrides Migration::prepareRow

File

includes/fieldable_panels_pane.migrate.inc, line 411
Support for fieldable_panels_pane destinations.

Class

DrupalFieldablePanelsPanesMigration
Handling specific to a Drupal 7 source for Fieldable Panels Panes.

Code

public function prepareRow($row) {
  if (parent::prepareRow($row) === FALSE) {
    return FALSE;
  }
  $this->version
    ->getSourceValues($row, $row->fpid);
  return TRUE;
}