protected function UserConsentState::exposedTranslate in Data Policy 8
Make some translations to a form item to make it more suitable to exposing.
Overrides FilterPluginBase::exposedTranslate
File
- src/
Plugin/ views/ filter/ UserConsentState.php, line 37
Class
- UserConsentState
- Simple filter to handle matching of multiple user consent states.
Namespace
Drupal\data_policy\Plugin\views\filterCode
protected function exposedTranslate(&$form, $type) {
$form['#no_convert'] = TRUE;
parent::exposedTranslate($form, $type);
}