protected function CFDefaultFieldComparator::extendComparableProperties in Changed Fields API 7.3
Same name and namespace in other branches
- 7.2 includes/changed_fields.core.inc \CFDefaultFieldComparator::extendComparableProperties()
Method that returns extended comparable properties for field type.
Use it if you want to extend comparable properties for a given field type.
Parameters
array $fieldInfo: Array contains field instance and field base information.
array $properties: Array with properties that we need to use to compare two field values.
Return value
array Array with extended properties that system needs to use to compare two field values depends on core field type.
1 call to CFDefaultFieldComparator::extendComparableProperties()
- CFDefaultFieldComparator::getComparableProperties in src/
FieldComparator/ CFDefaultFieldComparator.php - Method that returns comparable properties for existing field type.
1 method overrides CFDefaultFieldComparator::extendComparableProperties()
- ExtendedFieldComparator::extendComparableProperties in examples/
changed_fields_extended_field_comparator/ includes/ changed_fields_extended_field_comparator.field_comparator.inc - Method that returns extended comparable properties for field type.
File
- src/
FieldComparator/ CFDefaultFieldComparator.php, line 204
Class
- CFDefaultFieldComparator
- Class CFDefaultFieldComparator.
Code
protected function extendComparableProperties(array $fieldInfo, array $properties) {
return $properties;
}