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