You are here

protected function Owl::defineOptions in Multipurpose Corporate Profile 8

Set default options

Overrides StylePluginBase::defineOptions

File

modules/contrib/owl/src/Plugin/views/style/Owl.php, line 44
Contains \Drupal\owl\Plugin\views\style\Owl.

Class

Owl
Style plugin to render each item into owl carousel.

Namespace

Drupal\owl\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $settings = _owl_default_settings();
  foreach ($settings as $k => $v) {
    $options[$k] = array(
      'default' => $v,
    );
  }
  return $options;
}