function matrix_handler_filter::admin_summary in Matrix field 8.2
Same name in this branch
- 8.2 views/matrix_handler_filter.inc \matrix_handler_filter::admin_summary()
- 8.2 src/matrix_handler_filter.php \Drupal\matrix\matrix_handler_filter::admin_summary()
File
- src/
matrix_handler_filter.php, line 163
Class
- matrix_handler_filter
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Namespace
Drupal\matrixCode
function admin_summary() {
if (!empty($this->options['exposed'])) {
return t('exposed');
}
$options = $this
->operator_options('short');
$op = check_plain($options[$this->operator]);
$rows = $this
->row_list();
$cols = $this
->col_list();
if (isset($this->value)) {
list($row, $col, $value) = explode('_____', $this->value);
return t("Cell at row '%row', column '%col' %op %value", array(
'%row' => $rows[$row],
'%col' => $cols[$col],
'%op' => $op,
'%value' => $value,
));
}
return $output;
}