You are here

protected function views_aggregator_plugin_style_table::has_no_suitable_renderer in Views Aggregator Plus 7

1 call to views_aggregator_plugin_style_table::has_no_suitable_renderer()
views_aggregator_plugin_style_table::render_from_raw in views/views_aggregator_plugin_style_table.inc
Render a field.module field from a raw value.

File

views/views_aggregator_plugin_style_table.inc, line 892
views_aggregator_plugin_style_table.inc

Class

views_aggregator_plugin_style_table
Style plugin to render each item as a row in a table.

Code

protected function has_no_suitable_renderer($field_data, $field_name) {
  if (!isset($field_data['entity']->{$field_name})) {
    return TRUE;
  }
  return is_scalar($field_data['entity']->{$field_name});
}