You are here

public function DisqusCommentsStatus::prepareRow in Disqus 8

Adds additional data to the row.

Parameters

\Drupal\migrate\Row $row: The row object.

Return value

bool FALSE if this row needs to be skipped.

Overrides SourcePluginBase::prepareRow

File

src/Plugin/migrate/source/DisqusCommentsStatus.php, line 75

Class

DisqusCommentsStatus
Disqus comments status.

Namespace

Drupal\disqus\Plugin\migrate\source

Code

public function prepareRow(Row $row) {
  parent::prepareRow($row);
  $nid = $row
    ->getSourceProperty('nid');
  $row
    ->setSourceProperty('identifier', 'node/' . $nid);
}