public function entity_views_handler_relationship::query in Entity API 7
Called to implement a relationship in a query.
As we don't add any data to the query itself, we don't have to do anything here. Views just don't thinks we have been called unless we set our $alias property. Otherwise, this override is just here to keep PHP from blowing up by calling inexistent methods on the query plugin.
Overrides views_handler_relationship::query
File
- views/
handlers/ entity_views_handler_relationship.inc, line 48 - Contains the entity_views_handler_relationship class.
Class
- entity_views_handler_relationship
- Relationship handler for data selection tables.
Code
public function query() {
$this->alias = $this->options['id'];
}