You are here

protected function Fields::setViewFieldDefinitions in Layout Plugin Views 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/row/Fields.php \Drupal\layout_plugin_views\Plugin\views\row\Fields::setViewFieldDefinitions()

Sets the field property of the view.

Parameters

\Drupal\views\Plugin\views\field\FieldPluginBase[] $fieldDefinitions:

1 call to Fields::setViewFieldDefinitions()
Fields::renderFields in src/Plugin/views/row/Fields.php
Renders the fields.

File

src/Plugin/views/row/Fields.php, line 212

Class

Fields
The layout_plugin_views 'fields' row plugin

Namespace

Drupal\layout_plugin_views\Plugin\views\row

Code

protected function setViewFieldDefinitions(array $fieldDefinitions) {
  $this->view->field = $fieldDefinitions;
}