You are here

protected function FlippedTable::defineOptions in Views Flipped Table 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/FlippedTable.php, line 23

Class

FlippedTable
Style plugin to render each item as a column in a table.

Namespace

Drupal\views_flipped_table\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['flipped_table_header_first_field'] = array(
    'default' => TRUE,
  );
  return $options;
}