TextFieldHandler.php in CRM Core 8.2
Same filename and directory in other branches
File
modules/crm_core_match/src/Plugin/crm_core_match/field/TextFieldHandler.phpView source
<?php
namespace Drupal\crm_core_match\Plugin\crm_core_match\field;
/**
* Class for evaluating text fields.
*
* @CrmCoreMatchFieldHandler (
* id = "text"
* )
*/
class TextFieldHandler extends FieldHandlerBase {
/**
* {@inheritdoc}
*/
public function getOperators($property = 'value') {
return array(
'=' => t('Equals'),
'STARTS_WITH' => t('Starts with'),
'ENDS_WITH' => t('Ends with'),
'CONTAINS' => t('Contains'),
);
}
}
Classes
Name | Description |
---|---|
TextFieldHandler | Class for evaluating text fields. |