You are here

protected function Table::isCustomTextField in Views Aggregator Plus 8

Checks if the field is a Views field of type "Global: Custom text".

Parameters

object $field_handler: The object belonging to the View result field.

Return value

bool TRUE if the field is of type "Global: Custom text".

2 calls to Table::isCustomTextField()
Table::getCell in src/Plugin/views/style/Table.php
Returns the raw or rendered result at the intersection of column and row.
Table::renderNewValue in src/Plugin/views/style/Table.php
Returns the rendered value for a new (raw) value of a table cell.

File

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

Class

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

Namespace

Drupal\views_aggregator\Plugin\views\style

Code

protected function isCustomTextField($field_handler) {
  return $field_handler
    ->getPluginId() === 'custom';
}