function HandlerBase::placeholder
Same name in other branches
- 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::placeholder()
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::placeholder()
- 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::placeholder()
Provides a unique placeholders for handlers.
Return value
string A placeholder which contains the table and the fieldname.
21 calls to HandlerBase::placeholder()
- Combine::opContains in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Combine::opContainsWord in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Filters by one or more words.
- Combine::opEndsWith in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Combine::opEqual in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Adds a where clause for the operation, 'equals'.
- Combine::opNotEndsWith in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php
File
-
core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php, line 588
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
protected function placeholder() {
return $this->query
->placeholder($this->table . '_' . $this->field);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.