public function MatchEngineBase::getRules in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Plugin/crm_core_match/engine/MatchEngineBase.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineBase::getRules()
- 8 modules/crm_core_match/src/Plugin/crm_core_match/engine/MatchEngineBase.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineBase::getRules()
Gets the rules that are matched.
By default those are the contact type fields.
@todo Extend with typed data definition to limit selections.
Example data:
(
field_name => array(
label,
definition,
),
Return value
mixed
Overrides MatchEngineInterface::getRules
1 method overrides MatchEngineBase::getRules()
- DefaultMatchingEngine::getRules in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ DefaultMatchingEngine.php - Gets the rules that are matched.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ MatchEngineBase.php, line 110 - Contains \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineBase.
Class
- MatchEngineBase
- Default implementation of MatchEngineInterface.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\engineCode
public function getRules() {
return array();
}