public function FormsStepsProgressBarBlock::__construct in Forms Steps 8
Same name in this branch
- 8 src/Plugin/Derivative/FormsStepsProgressBarBlock.php \Drupal\forms_steps\Plugin\Derivative\FormsStepsProgressBarBlock::__construct()
- 8 src/Plugin/Block/FormsStepsProgressBarBlock.php \Drupal\forms_steps\Plugin\Block\FormsStepsProgressBarBlock::__construct()
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ FormsStepsProgressBarBlock.php, line 68
Class
- FormsStepsProgressBarBlock
- Provides the progress bar block.
Namespace
Drupal\forms_steps\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CurrentRouteMatch $current_route_match, FormsStepsManager $forms_steps_manager, FormsStepsHelper $forms_steps_helper, WorkflowRepository $workflow_repository) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->derivativeId = $this
->getDerivativeId();
$this->currentRouteMatch = $current_route_match;
$this->formsStepsManager = $forms_steps_manager;
$this->formsStepsHelper = $forms_steps_helper;
$this->workflowRepository = $workflow_repository;
}