public function SlickViews::getFieldRendered in Slick Views 7.2
Returns the rendered field, either string or array.
1 call to SlickViews::getFieldRendered()
- SlickViews::buildElements in ./
SlickViews.inc - Returns slick contents.
File
- ./
SlickViews.inc, line 316 - Slick style plugin for the Views module.
Class
- SlickViews
- Implements a style type plugin for the Views module.
Code
public function getFieldRendered($index, $field_name = '', $restricted = FALSE) {
if (!empty($field_name) && ($output = $this
->get_field($index, $field_name))) {
return is_array($output) ? $output : array(
'#markup' => $restricted ? filter_xss_admin($output) : $output,
);
}
return array();
}