You are here

public function FormsStepsProgressBarBlock::__construct in Forms Steps 8

Same name in this branch
  1. 8 src/Plugin/Derivative/FormsStepsProgressBarBlock.php \Drupal\forms_steps\Plugin\Derivative\FormsStepsProgressBarBlock::__construct()
  2. 8 src/Plugin/Block/FormsStepsProgressBarBlock.php \Drupal\forms_steps\Plugin\Block\FormsStepsProgressBarBlock::__construct()

Constructs new forms steps progress bar block.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $forms_steps_storage: The forms steps storage.

File

src/Plugin/Derivative/FormsStepsProgressBarBlock.php, line 30

Class

FormsStepsProgressBarBlock
Provides block plugin definitions for progress bars.

Namespace

Drupal\forms_steps\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $forms_steps_storage) {
  $this->formStepsStorage = $forms_steps_storage;
}