protected function UpdateService::addToFieldMap in Apigee API Catalog 8.2
Add a field to the field map.
Parameters
string $old: The apidoc field name.
string $new: The node field name.
1 call to UpdateService::addToFieldMap()
- UpdateService::update8803 in src/
UpdateService.php - Recreate other fields added to API Doc entity onto the API Doc node type.
File
- src/
UpdateService.php, line 370
Class
- UpdateService
- Class UpdateService.
Namespace
Drupal\apigee_api_catalogCode
protected function addToFieldMap(string $old, string $new) {
$map = $this
->getFieldMap();
$map[$old] = $new;
\Drupal::state()
->set('apigee_api_catalog_update_8803_fieldmap', $map);
}