You are here

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

File

lib/Views/statistics/Plugin/views/field/AccesslogPath.php, line 56
Definition of Views\statistics\Plugin\views\field\AccesslogPath.

Class

AccesslogPath
Field handler to provide simple renderer that turns a URL into a clickable link.

Namespace

Views\statistics\Plugin\views\field

Code

function render($values) {
  $value = $this
    ->get_value($values);
  return $this
    ->render_link($this
    ->sanitizeValue($value), $values);
}