StringFilter::WORDS_PATTERN
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/filter/StringFilter.php \Drupal\views\Plugin\views\filter\StringFilter::WORDS_PATTERN
- 10 core/modules/views/src/Plugin/views/filter/StringFilter.php \Drupal\views\Plugin\views\filter\StringFilter::WORDS_PATTERN
- 11.x 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.
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.