private function RangeField::isRangeField in Range 8
Same name in this branch
- 8 src/Plugin/migrate/field/d6/RangeField.php \Drupal\range\Plugin\migrate\field\d6\RangeField::isRangeField()
- 8 src/Plugin/migrate/field/d7/RangeField.php \Drupal\range\Plugin\migrate\field\d7\RangeField::isRangeField()
Checks whether the given field type is a range field.
This plugin is being called for every single field type existing in the source database.
Parameters
string $type: Field type that is being migrated.
Return value
bool TRUE if the given field type is a range field, FALSE otherwise.
3 calls to RangeField::isRangeField()
- RangeField::alterFieldFormatterMigration in src/
Plugin/ migrate/ field/ d6/ RangeField.php - Apply any custom processing to the field formatter migration.
- RangeField::alterFieldInstanceMigration in src/
Plugin/ migrate/ field/ d6/ RangeField.php - Apply any custom processing to the field instance migration.
- RangeField::alterFieldMigration in src/
Plugin/ migrate/ field/ d6/ RangeField.php - Apply any custom processing to the field migration.
File
- src/
Plugin/ migrate/ field/ d6/ RangeField.php, line 143
Class
- RangeField
- MigrateField Plugin for Drupal 6 range fields.
Namespace
Drupal\range\Plugin\migrate\field\d6Code
private function isRangeField($type) {
return array_key_exists($type, $this->pluginDefinition['type_map']);
}