constant StringFilter::WORDS_PATTERN in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/filter/StringFilter.php \Drupal\views\Plugin\views\filter\StringFilter::WORDS_PATTERN
All words separated by spaces or sentences encapsulated by double quotes.
File
- core/
modules/ views/ src/ Plugin/ views/ filter/ StringFilter.php, line 23
Class
- StringFilter
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Namespace
Drupal\views\Plugin\views\filterCode
const WORDS_PATTERN = '/ (-?)("[^"]+"|[^" ]+)/i';