FieldablePanelsPaneRevision.php in Fieldable Panels Panes (FPP) 1.0.x
File
src/Plugin/migrate/source/d7/FieldablePanelsPaneRevision.php
View source
<?php
namespace Drupal\fieldable_panels_panes\Plugin\migrate\source\d7;
class FieldablePanelsPaneRevision extends FieldablePanelsPane {
const JOIN = 'fpp.fpid = fppr.fpid AND fpp.vid <> fppr.vid';
public function fields() {
return parent::fields() + [
'vid' => $this
->t('The primary identifier for this version.'),
'log' => $this
->t('Revision Log message'),
'timestamp' => $this
->t('Revision timestamp'),
];
}
public function getIds() {
$ids['vid']['type'] = 'integer';
$ids['vid']['alias'] = 'fppr';
return $ids;
}
}