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