You are here

protected function views_handler_field_megarow_links::getLink in Views Megarow 7

Returns a link as a renderable array.

Parameters

type $title:

type $url:

type $attributes:

Return value

array

1 call to views_handler_field_megarow_links::getLink()
views_handler_field_megarow_links::render in includes/views/handlers/views_handler_field_megarow_links.inc
Renders the field.

File

includes/views/handlers/views_handler_field_megarow_links.inc, line 159

Class

views_handler_field_megarow_links
Megarow handler that outputs the links which open the megarow.

Code

protected function getLink($title, $url, $attributes = array()) {
  return array(
    'title' => $title,
    'href' => $url,
    'attributes' => $attributes,
  );
}