You are here

protected function VerticalTabsStyle::defineOptions in Views vertical tabs style plugin 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 StylePluginBase::defineOptions

File

src/Plugin/views/style/VerticalTabsStyle.php, line 63
Contains \Drupal\views_vertical_tabs\Plugin\views\style\VerticalTabsStyle.

Class

VerticalTabsStyle
Defines a style plugin that renders the full view as vertical_tabs.

Namespace

Drupal\views_vertical_tabs\Plugin\views\style

Code

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