You are here

public function FieldHandlerBase::getLabel in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::getLabel()
  2. 8 modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase::getLabel()

Gets the property label.

Parameters

string $property: The name of the property.

Return value

string The property label.

Overrides FieldHandlerInterface::getLabel

File

modules/crm_core_match/src/Plugin/crm_core_match/field/FieldHandlerBase.php, line 97

Class

FieldHandlerBase
Class FieldHandlerBase.

Namespace

Drupal\crm_core_match\Plugin\crm_core_match\field

Code

public function getLabel($property = 'value') {
  return $this->field
    ->getLabel();
}