protected function CFDefaultFieldComparator::extendComparableProperties in Changed Fields API 7.2
Same name and namespace in other branches
- 7.3 src/FieldComparator/CFDefaultFieldComparator.php \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 includes/
changed_fields.core.inc - 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
- includes/
changed_fields.core.inc, line 423 - File contains core classes and interfaces.
Class
- CFDefaultFieldComparator
- Class CFDefaultFieldComparator.
Code
protected function extendComparableProperties(array $fieldInfo, array $properties) {
return $properties;
}