You are here

protected function TableSecondaryRow::defineOptions in Views Secondary Row 8

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides Table::defineOptions

File

src/Plugin/views/style/TableSecondaryRow.php, line 26

Class

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

Namespace

Drupal\views_secondary_row\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['break2'] = [
    'default' => '',
  ];
  $options['separator2'] = [
    'default' => '',
  ];
  $options['colspan2'] = [
    'default' => '',
  ];
  return $options;
}