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.
Namespace
Drupal\views\Plugin\views\filterCode
const WORDS_PATTERN = '/ (-?)("[^"]+"|[^" ]+)/i';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.