TextFieldHandler.php in CRM Core 8.3
File
modules/crm_core_match/src/Plugin/crm_core_match/field/TextFieldHandler.php
View source
<?php
namespace Drupal\crm_core_match\Plugin\crm_core_match\field;
use Drupal\Core\StringTranslation\StringTranslationTrait;
class TextFieldHandler extends FieldHandlerBase {
use StringTranslationTrait;
public function getOperators($property = 'value') {
return [
'=' => $this
->t('Equals'),
'STARTS_WITH' => $this
->t('Starts with'),
'ENDS_WITH' => $this
->t('Ends with'),
'CONTAINS' => $this
->t('Contains'),
];
}
}