You are here

public function fieldable_panels_panes_handler_field_view_revision::get_value in Fieldable Panels Panes (FPP) 7

Get the value that's supposed to be rendered.

This api exists so that other modules can easy set the values of the field without having the need to change the render method as well.

Parameters

object $values: An object containing all retrieved values.

string $field: Optional name of the field where the value is stored.

Overrides views_handler_field::get_value

1 call to fieldable_panels_panes_handler_field_view_revision::get_value()
fieldable_panels_panes_handler_field_view_revision::render in plugins/views/fieldable_panels_panes_handler_field_view_revision.inc
Render the field.

File

plugins/views/fieldable_panels_panes_handler_field_view_revision.inc, line 44
Provide views handlers for fieldable panel panes.

Class

fieldable_panels_panes_handler_field_view_revision
Field handler to present a link to the node.

Code

public function get_value($values, $field = NULL) {
  return isset($this->entities[$this->view->row_index]) ? $this->entities[$this->view->row_index] : FALSE;
}