You are here

function viewsreference_preprocess_viewsreference__view_title in Views Reference Field 8.2

Implements hook_preprocess_HOOK().

File

./viewsreference.module, line 38
Defines a field type to embed views in an entity reference field.

Code

function viewsreference_preprocess_viewsreference__view_title(&$variables) {
  $variables['title'] = [
    '#markup' => $variables['variables']['#title'],
  ];
}