function RdfMapping::fields

Same name in other branches
  1. 8.9.x core/modules/rdf/src/Plugin/migrate/source/d7/RdfMapping.php \Drupal\rdf\Plugin\migrate\source\d7\RdfMapping::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/rdf/src/Plugin/migrate/source/d7/RdfMapping.php, line 53

Class

RdfMapping
Drupal 7 rdf source from database.

Namespace

Drupal\rdf\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'type' => $this->t('The name of the entity type a mapping applies to (node, user, comment, etc.)'),
        'bundle' => $this->t('The name of the bundle a mapping applies to.'),
        'mapping' => $this->t('The serialized mapping of the bundle type and fields to RDF terms.'),
        'types' => $this->t('RDF types.'),
        'fieldMappings' => $this->t('RDF field mappings.'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.