interface TokenViewsFilterPluginInterface in Tokens in Views Filter Criteria 8
Interface of filter plugin with token replacement.
@package Drupal\token_views_filter
Hierarchy
- interface \Drupal\token_views_filter\TokenViewsFilterPluginInterface
Expanded class hierarchy of TokenViewsFilterPluginInterface
All classes that implement TokenViewsFilterPluginInterface
4 files declare their use of TokenViewsFilterPluginInterface
- TokensDateFilter.php in src/
Plugin/ views/ filter/ token/ TokensDateFilter.php - TokensDateTimeFilter.php in src/
Plugin/ views/ filter/ token/ TokensDateTimeFilter.php - TokensNumericFilter.php in src/
Plugin/ views/ filter/ token/ TokensNumericFilter.php - TokensStringFilter.php in src/
Plugin/ views/ filter/ token/ TokensStringFilter.php
File
- src/
TokenViewsFilterPluginInterface.php, line 10
Namespace
Drupal\token_views_filterView source
interface TokenViewsFilterPluginInterface {
/**
* Replace tokens in filters.
*
* @param mixed $value
* Array of values `min`, `max` and `value` or just value.
*/
public function replaceTokens(&$value);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TokenViewsFilterPluginInterface:: |
public | function | Replace tokens in filters. | 4 |