Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
| TermNodeRevision | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
0 | |
100.00% |
0 / 0 |
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\taxonomy\Plugin\migrate\source\d6\TermNodeRevision. | |
| */ | |
| namespace Drupal\taxonomy\Plugin\migrate\source\d6; | |
| /** | |
| * Source returning tids from the term_node table for the non-current revision. | |
| * | |
| * @MigrateSource( | |
| * id = "d6_term_node_revision" | |
| * ) | |
| */ | |
| class TermNodeRevision extends TermNode { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| const JOIN = 'tn.nid = n.nid AND tn.vid != n.vid'; | |
| } |