You are here

protected function DefaultFieldComparator::getDefaultComparableProperties in Changed Fields API 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/FieldComparator/DefaultFieldComparator.php \Drupal\changed_fields\Plugin\FieldComparator\DefaultFieldComparator::getDefaultComparableProperties()
  2. 8.2 src/Plugin/FieldComparator/DefaultFieldComparator.php \Drupal\changed_fields\Plugin\FieldComparator\DefaultFieldComparator::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

FieldDefinitionInterface $fieldDefinition:

Return value

array

1 call to DefaultFieldComparator::getDefaultComparableProperties()
DefaultFieldComparator::getComparableProperties in src/Plugin/FieldComparator/DefaultFieldComparator.php
Method that returns comparable properties for existing field type.
1 method overrides DefaultFieldComparator::getDefaultComparableProperties()
ExtendedFieldComparator::getDefaultComparableProperties in examples/changed_fields_extended_field_comparator/src/Plugin/FieldComparator/ExtendedFieldComparator.php
Method that returns comparable properties for extra or custom field type.

File

src/Plugin/FieldComparator/DefaultFieldComparator.php, line 99
Contains DefaultFieldComparator.php.

Class

DefaultFieldComparator
Plugin annotation @Plugin( id = "default_field_comparator" )

Namespace

Drupal\changed_fields\Plugin\FieldComparator

Code

protected function getDefaultComparableProperties(FieldDefinitionInterface $fieldDefinition) {
  return array();
}