You are here

public function SlickFormBase::init in Slick Carousel 7.3

Fake constructor.

Overrides ctools_export_ui::init

File

slick_ui/src/Form/SlickFormBase.php, line 38

Class

SlickFormBase
Provides base form for a slick instance configuration form.

Namespace

Drupal\slick_ui\Form

Code

public function init($plugin) {
  parent::init($plugin);

  // No DI as we have no way to initiliaze this class at
  // `ctools_export_ui_get_handler()` at ctools/includes/export-ui.inc.
  $this->manager = new SlickManager();
  $this->admin = new SlickAdmin($this->manager);
}