function HandlerBase::ensureMyTable
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::ensureMyTable()
- 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::ensureMyTable()
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::ensureMyTable()
1 call to HandlerBase::ensureMyTable()
- StatisticsLastUpdated::query in core/
modules/ comment/ src/ Plugin/ views/ sort/ StatisticsLastUpdated.php
File
-
core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php, line 544
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function ensureMyTable() {
if (!isset($this->tableAlias)) {
$this->tableAlias = $this->query
->ensureTable($this->table, $this->relationship);
}
return $this->tableAlias;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.