public function WeatherSystemDisplayBlock::__construct in Weather 8
Same name in this branch
- 8 src/Plugin/Derivative/WeatherSystemDisplayBlock.php \Drupal\weather\Plugin\Derivative\WeatherSystemDisplayBlock::__construct()
- 8 src/Plugin/Block/WeatherSystemDisplayBlock.php \Drupal\weather\Plugin\Block\WeatherSystemDisplayBlock::__construct()
Same name and namespace in other branches
- 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\DerivativeCode
public function __construct(EntityStorageInterface $weatherDisplayStorage) {
$this->weatherDisplayStorage = $weatherDisplayStorage;
}