public function fieldable_panels_panes_handler_argument_bundle::summary_argument in Fieldable Panels Panes (FPP) 7
Provide the argument to use to link from the summary to the next level.
This will be called once per row of a summary, and used as part of $view->get_url().
Parameters
object $data: The query results for the row.
Overrides views_handler_argument::summary_argument
File
- plugins/
views/ fieldable_panels_panes_handler_argument_bundle.inc, line 39 - Provide views handler arguments for fieldable panel panes.
Class
- fieldable_panels_panes_handler_argument_bundle
- Argument handler to accept a node type.
Code
public function summary_argument($data) {
// Transform all _ into - so that URLs are proper.
return str_replace('_', '-', $data->{$this->base_alias});
}