class TextFieldHandler in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Plugin/crm_core_match/field/TextFieldHandler.php \Drupal\crm_core_match\Plugin\crm_core_match\field\TextFieldHandler
- 8.2 modules/crm_core_match/src/Plugin/crm_core_match/field/TextFieldHandler.php \Drupal\crm_core_match\Plugin\crm_core_match\field\TextFieldHandler
Class for evaluating text fields.
@CrmCoreMatchFieldHandler ( id = "text" )
Hierarchy
- class \Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerBase implements ContainerFactoryPluginInterface, FieldHandlerInterface
- class \Drupal\crm_core_match\Plugin\crm_core_match\field\TextFieldHandler
Expanded class hierarchy of TextFieldHandler
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ field/ TextFieldHandler.php, line 12
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\fieldView source
class TextFieldHandler extends FieldHandlerBase {
/**
* {@inheritdoc}
*/
public function getOperators($property = 'value') {
return [
'=' => t('Equals'),
'STARTS_WITH' => t('Starts with'),
'ENDS_WITH' => t('Ends with'),
'CONTAINS' => t('Contains'),
];
}
}