You are here

protected function UpdateService::getFieldMap in Apigee API Catalog 8.2

Get the field map from apidoc fields to node fields.

Return value

array The field mapping.

2 calls to UpdateService::getFieldMap()
UpdateService::addToFieldMap in src/UpdateService.php
Add a field to the field map.
UpdateService::update8804 in src/UpdateService.php
Convert API Doc entities to nodes, migrating data.

File

src/UpdateService.php, line 356

Class

UpdateService
Class UpdateService.

Namespace

Drupal\apigee_api_catalog

Code

protected function getFieldMap() : array {
  $map = \Drupal::state()
    ->get('apigee_api_catalog_update_8803_fieldmap', []);
  return $map;
}