You are here

public function TranslationLanguageJoin::__construct in Translation Views 8

Constructs a Drupal\views\Plugin\views\join\JoinPluginBase object.

Overrides JoinPluginBase::__construct

File

src/Plugin/views/join/TranslationLanguageJoin.php, line 29

Class

TranslationLanguageJoin
Special join to show all translatable langcodes per one row.

Namespace

Drupal\translation_views\Plugin\views\join

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Connection $database) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->database = $database;
  $this->eid = $this->configuration['entity_id'];
}