You are here

public function EntityReverse::init in Views (for Drupal 7) 8.3

Init handler to let relationships live on tables other than the table they operate on.

Overrides RelationshipPluginBase::init

File

lib/Views/field/Plugin/views/relationship/EntityReverse.php, line 26
Definition of Views\field\Plugin\views\relationship\EntityReverse.

Class

EntityReverse
A relationship handlers which reverse entity references.

Namespace

Views\field\Plugin\views\relationship

Code

public function init(ViewExecutable $view, &$options) {
  parent::init($view, $options);
  $this->field_info = field_info_field($this->definition['field_name']);
}