You are here

public function TranslationSourceLangcodeEqualsRowLangcodeField::init in Translation Views 8

Initialize the plugin.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.

array $options: The options configured for this plugin.

Overrides Boolean::init

File

src/Plugin/views/field/TranslationSourceLangcodeEqualsRowLangcodeField.php, line 21

Class

TranslationSourceLangcodeEqualsRowLangcodeField
Provides a field that adds translation status.

Namespace

Drupal\translation_views\Plugin\views\field

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);
  $this->field_alias = 'source_lang_eq_row';
}