You are here

public function WeatherSystemDisplayBlock::__construct in Weather 8

Same name in this branch
  1. 8 src/Plugin/Derivative/WeatherSystemDisplayBlock.php \Drupal\weather\Plugin\Derivative\WeatherSystemDisplayBlock::__construct()
  2. 8 src/Plugin/Block/WeatherSystemDisplayBlock.php \Drupal\weather\Plugin\Block\WeatherSystemDisplayBlock::__construct()
Same name and namespace in other branches
  1. 2.0.x src/Plugin/Derivative/WeatherSystemDisplayBlock.php \Drupal\weather\Plugin\Derivative\WeatherSystemDisplayBlock::__construct()

Constructs new WeatherSystemDisplayBlock.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $weatherDisplayStorage: The weather displays storage.

File

src/Plugin/Derivative/WeatherSystemDisplayBlock.php, line 34

Class

WeatherSystemDisplayBlock
Provides block plugin definitions for nodes.

Namespace

Drupal\weather\Plugin\Derivative

Code

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