public function FieldHandlerInterface::getOperators in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerInterface::getOperators()
- 8 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerInterface::getOperators()
Gets the operators.
Defines the logical operators that can be used by this field type. Provides any additional fields needed to capture information used in logical evaluations. See {@code QueryInterface::condition} for valid operators.
For instance: if this was a text field, there might be 4 logical operators: =, STARTS_WITH, ENDS_WITH and CONTAINS.
Parameters
string $property: The name of the property.
Return value
string[] Array of operators, with the operator name as key and the translated operator label as value.
7 methods override FieldHandlerInterface::getOperators()
- AddressFieldHandler::getOperators in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ AddressFieldHandler.php - Gets the operators.
- DateFieldHandler::getOperators in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ DateFieldHandler.php - Gets the operators.
- EmailFieldHandler::getOperators in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ EmailFieldHandler.php - Gets the operators.
- NameFieldHandler::getOperators in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ NameFieldHandler.php - Gets the operators.
- PhoneNumberFieldHandler::getOperators in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ PhoneNumberFieldHandler.php - Gets the operators.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerInterface.php, line 70
Class
- FieldHandlerInterface
- Interface for defining the logical operators and query criteria used to identify duplicate contacts based on different field types in DefaultMatchingEngine.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\fieldCode
public function getOperators($property = 'value');