public function PhotosAccess::fields in Album Photos 8.4
Same name in this branch
- 8.4 photos_access/src/Plugin/migrate/source/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\source\PhotosAccess::fields()
- 8.4 photos_access/src/Plugin/migrate/destination/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\destination\PhotosAccess::fields()
Same name and namespace in other branches
- 8.5 photos_access/src/Plugin/migrate/destination/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\destination\PhotosAccess::fields()
- 6.0.x photos_access/src/Plugin/migrate/destination/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\destination\PhotosAccess::fields()
Returns an array of destination fields.
Derived classes must implement fields(), returning a list of available destination fields.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Unused, will be removed before Drupal 9.0.x. Defaults to NULL.
Return value
array
- Keys: machine names of the fields
- Values: Human-friendly descriptions of the fields.
Overrides MigrateDestinationInterface::fields
File
- photos_access/
src/ Plugin/ migrate/ destination/ PhotosAccess.php, line 61
Class
- PhotosAccess
- Migrate photos_access destination.
Namespace
Drupal\photos_access\Plugin\migrate\destinationCode
public function fields(MigrationInterface $migration = NULL) {
return [
'id' => 'ID',
'nid' => 'Node ID',
'viewid' => 'Access type',
'pass' => 'Password',
];
}