You are here

public function MixItUp::__construct in MixItUp Views 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/views/style/MixItUp.php \Drupal\mixitup_views\Plugin\views\style\MixItUp::__construct()

Constructor.

Overrides PluginBase::__construct

File

src/Plugin/views/style/MixItUp.php, line 72

Class

MixItUp
Style plugin for MixItUp.

Namespace

Drupal\mixitup_views\Plugin\views\style

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, $mixitupFuncService) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->mixitupFuncService = $mixitupFuncService;
  $this->defaultOptions = $this->mixitupFuncService
    ->getDefaultOptions(TRUE);
}