You are here

public function FieldHandlerBase::getOptions in CRM Core 8.3

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

Gets the operator options.

@todo: Consider using options when matching or drop.

Parameters

string $property: The name of the property.

Return value

string The operator options.

Overrides FieldHandlerInterface::getOptions

See also

FieldHandlerInterface::getOperators()

FieldHandlerInterface::getOperator()

File

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

Class

FieldHandlerBase
Class FieldHandlerBase.

Namespace

Drupal\crm_core_match\Plugin\crm_core_match\field

Code

public function getOptions($property = 'value') {
  return isset($this->configuration[$property]['options']) ? $this->configuration[$property]['options'] : '';
}