/**
* {@inheritdoc}
*/
public function query(QueryPluginBase $query, $relationship = NULL) {
}
/**
* {@inheritdoc}
*/
public function preRender(array $result) {
$this->preRenderByRelationship($result, 'none');
}
/**
* Runs before each entity is rendered if a relationship is needed.
*
* @param \Drupal\views\ResultRow[] $result
* The full array of results from the query.
* @param string $relationship
* The relationship to be used.
*/
public function preRenderByRelationship(array $result, string $relationship): void {