function template_preprocess_views_view_row_opml

Same name in other branches
  1. 9 core/modules/views/views.theme.inc \template_preprocess_views_view_row_opml()
  2. 10 core/modules/views/views.theme.inc \template_preprocess_views_view_row_opml()
  3. 11.x core/modules/views/views.theme.inc \template_preprocess_views_view_row_opml()

Prepares variables for views OPML item templates.

Default template: views-view-row-opml.html.twig.

Parameters

array $variables: An associative array containing:

  • row: The raw results rows.

File

core/modules/views/views.theme.inc, line 977

Code

function template_preprocess_views_view_row_opml(&$variables) {
    $item = $variables['row'];
    $variables['attributes'] = new Attribute($item);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.