- Issue created by @Peter Majmesku
Currently all field types can be mapped to the field mappings (e.g. hostnames, frontpage, 404 or 404 HTTP page). But only specific field types do work.
Also there should be appropriate getter methods for the mapped values. \Drupal\Core\Field\PluginSettingsBase::getSetting() returns a fixed type. A mixed type cannot be correctly foreseen and handled without errors.
There is the method \Drupal\sites_group\Plugin\Derivative\GroupSites::getDerivativeDefinitions() but due to naming, I am not sure, what this method is doing and if it has anything to do with this context even.
See below in relation to the scope.
Add a description about the data type to the mappable fields
Create a GroupTypeMapping service, which provides the correct field values for the mapped fields.
Validate the field type, before a field mapping is saved
Active
1.0
User interface