Commit 78c71b4e authored by alexpott's avatar alexpott
Browse files

Issue #2337509 by amateescu: Remove "@todo In theory we should use the data...

Issue #2337509 by amateescu: Remove "@todo In theory we should use the data table as base table, as this would" from EntityViewsData
parent 13e0794e
...@@ -116,9 +116,6 @@ protected function getFieldStorageDefinitions() { ...@@ -116,9 +116,6 @@ protected function getFieldStorageDefinitions() {
public function getViewsData() { public function getViewsData() {
$data = []; $data = [];
// @todo In theory we should use the data table as base table, as this would
// save one pointless join (and one more for every relationship).
// @see https://drupal.org/node/2337509
$base_table = $this->entityType->getBaseTable(); $base_table = $this->entityType->getBaseTable();
$base_field = $this->entityType->getKey('id'); $base_field = $this->entityType->getKey('id');
$data_table = $this->entityType->getDataTable(); $data_table = $this->entityType->getDataTable();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment