You are here

public function DraggableViews::getValue in DraggableViews 8

Same name and namespace in other branches
  1. 2.0.x src/DraggableViews.php \Drupal\draggableviews\DraggableViews::getValue()

Return value by it's name and index.

File

src/DraggableViews.php, line 81

Class

DraggableViews
Class DraggableViews.

Namespace

Drupal\draggableviews

Code

public function getValue($name, $index) {
  return $this->view->result[$index]->{$name};
}