public function FieldHandlerInterface::match in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerInterface::match()
- 8.2 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerInterface::match()
Executes the match query.
@code array( $contact_id => array( $rule_id => $core, ), ); @end
Parameters
\Drupal\crm_core_contact\ContactInterface $contact: The contact entity to find matches for.
string $property: The name of the property.
Return value
array An array containing the found matches. The first level keys are the contact ids found as matches. The second level key is the rule id responsible for the match containing its score as value.
1 method overrides FieldHandlerInterface::match()
- FieldHandlerBase::match in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerBase.php - Executes the match query.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerInterface.php, line 146
Class
- FieldHandlerInterface
- Field Handler Interface.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\fieldCode
public function match(ContactInterface $contact, $property = 'value');