public function MatchEngineInterface::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/MatchEngineInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface::getRules()
- 8 modules/crm_core_match/src/Plugin/crm_core_match/engine/MatchEngineInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface::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
1 method overrides MatchEngineInterface::getRules()
- MatchEngineBase::getRules in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ MatchEngineBase.php - Gets the rules that are matched.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ MatchEngineInterface.php, line 62 - Contains \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface.
Class
- MatchEngineInterface
- Interface for matching engines.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\engineCode
public function getRules();