You are here

public function MatchEngineInterface::getRules in CRM Core 8

Same name and namespace in other branches
  1. 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()
  2. 8.2 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 Matched rules.

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 58

Class

MatchEngineInterface
Interface for matching engines.

Namespace

Drupal\crm_core_match\Plugin\crm_core_match\engine

Code

public function getRules();