protected function FieldUtilsTrait::getMatchingFieldTypes in Scheduled Updates 8
Get Fields that can used as a destination field for this type.
Parameters
string $type:
Return value
array
1 call to FieldUtilsTrait::getMatchingFieldTypes()
- FieldUtilsTrait::isDestinationFieldCompatible in src/
FieldUtilsTrait.php - Check if a field on the entity type to update is a possible destination field.
File
- src/
FieldUtilsTrait.php, line 84 - Contains \Drupal\scheduled_updates\FieldUtilsTrait.
Class
Namespace
Drupal\scheduled_updatesCode
protected function getMatchingFieldTypes($type) {
// @todo which types can be interchanged
return [
$type,
];
}