You are here

protected function Table::applyRowFilters in Views Aggregator Plus 8

Filters out rows from the table based on a field cell matching a regexp.

1 call to Table::applyRowFilters()
Table::preRender in src/Plugin/views/style/Table.php
Note that this class being a views_plugin, rather than a views_handler, it does not have a post_execute() function.

File

src/Plugin/views/style/Table.php, line 438

Class

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

Namespace

Drupal\views_aggregator\Plugin\views\style

Code

protected function applyRowFilters() {
  $field_handlers = $this->view->field;
  foreach ($this->options['info'] as $field_name => $options) {
    if (!empty($options['has_aggr']) && in_array('views_aggregator_row_filter', $options['aggr'])) {
      views_aggregator_row_filter($this, $field_handlers[$field_name], $options['aggr_par']);
    }
  }
}