You are here

protected function EntityFormField::getView in Views Entity Form Field 8

Returns the top object of a view.

Return value

\Drupal\views\ViewExecutable The view object.

Overrides EntityTranslationRenderTrait::getView

File

src/Plugin/views/field/EntityFormField.php, line 257

Class

EntityFormField
Defines a views form element for an entity field widget.

Namespace

Drupal\views_entity_form_field\Plugin\views\field

Code

protected function getView() {
  return $this->view;
}