public function Book::fields in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/src/Plugin/migrate/source/d6/Book.php \Drupal\book\Plugin\migrate\source\d6\Book::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ book/ src/ Plugin/ migrate/ source/ d6/ Book.php, line 49 - Contains \Drupal\book\Plugin\migrate\source\d6\Book.
Class
- Book
- Drupal 6 book source.
Namespace
Drupal\book\Plugin\migrate\source\d6Code
public function fields() {
return array(
'nid' => $this
->t('Node ID'),
'bid' => $this
->t('Book ID'),
'mlid' => $this
->t('Menu link ID'),
'plid' => $this
->t('Parent link ID'),
'weight' => $this
->t('Weight'),
'p1' => $this
->t('The first mlid in the materialized path.'),
'p2' => $this
->t('The second mlid in the materialized path.'),
'p3' => $this
->t('The third mlid in the materialized path.'),
'p4' => $this
->t('The fourth mlid in the materialized path.'),
'p5' => $this
->t('The fifth mlid in the materialized path.'),
'p6' => $this
->t('The sixth mlid in the materialized path.'),
'p7' => $this
->t('The seventh mlid in the materialized path.'),
'p8' => $this
->t('The eight mlid in the materialized path.'),
'p9' => $this
->t('The nine mlid in the materialized path.'),
);
}