function PaymentViewsHandlerFieldTranslatableString::construct in Payment 7
Construct a new field handler.
Overrides views_handler_field::construct
File
- views/
PaymentViewsHandlerFieldTranslatableString.inc, line 14 - Contains PaymentViewsHandlerFieldTranslatableString.
Class
- PaymentViewsHandlerFieldTranslatableString
- Views field handler for a translatable string that requires arguments from the DB.
Code
function construct() {
parent::construct();
if (!empty($this->definition['string_arguments_field'])) {
$this->additional_fields['string_arguments_field'] = $this->definition['string_arguments_field'];
}
}