public function draggableviews_hierarchy_handler::get in DraggableViews 7.2
Get the parent value.
Parameters
object $field: Draggableviews field handler. View is $field->view, to get a row $field->view->result[$index].
int $index: Index of the row.
Return value
int Weight value.
2 methods override draggableviews_hierarchy_handler::get()
- draggableviews_hierarchy_handler_book::get in draggableviews_book/
handlers/ draggableviews_hierarchy_handler_book.inc - Get the parent value.
- draggableviews_hierarchy_handler_native::get in handlers/
draggableviews_hierarchy_handler_native.inc - Get the parent value.
File
- handlers/
draggableviews_hierarchy_handler.inc, line 25 - Base plugin implementation.
Class
- draggableviews_hierarchy_handler
- Parent class for all hierarchy handlers.
Code
public function get($field, $index) {
}