public function FieldHandlerBase::getScore in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::getScore()
- 8.2 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::getScore()
Gets the score.
Parameters
string $property: The name of the property.
Return value
int The score.
Overrides FieldHandlerInterface::getScore
2 calls to FieldHandlerBase::getScore()
- FieldHandlerBase::match in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerBase.php - Executes the match query.
- NameFieldHandler::match in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ NameFieldHandler.php - Executes the match query.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ FieldHandlerBase.php, line 143
Class
- FieldHandlerBase
- Class FieldHandlerBase.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\fieldCode
public function getScore($property = 'value') {
return isset($this->configuration[$property]['score']) ? $this->configuration[$property]['score'] : 0;
}