You are here

public function MortgageCalculatorBlockResults::__construct in Real Estate Mortgage Calculator 8

Constructs a new BookNavigationBlock instance.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack object.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/MortgageCalculatorBlockResults.php, line 39

Class

MortgageCalculatorBlockResults
Provides a 'Example: uppercase this please' block.

Namespace

Drupal\mortgage_calculator\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, RequestStack $request_stack) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->requestStack = $request_stack;
}