You are here

function Mapping::render in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\style\StylePluginBase::render().

Provides the mapping definition as an available variable.

Overrides StylePluginBase::render

File

lib/Drupal/views/Plugin/views/style/Mapping.php, line 134
Definition of Drupal\views\Plugin\views\style\Mapping.

Class

Mapping
Allows fields to be mapped to specific use cases.

Namespace

Drupal\views\Plugin\views\style

Code

function render() {
  return theme($this
    ->themeFunctions(), array(
    'view' => $this->view,
    'options' => $this->options,
    'rows' => $this->view->result,
    'mapping' => $this
      ->defineMapping(),
  ));
}