You are here

public function SliderBlock::__construct in Image sliders 8

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

Construct a MyFormatter object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

File

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

Class

SliderBlock
Provides a form for generating multiple block.

Namespace

Drupal\image_slider\Plugin\Derivative

Code

public function __construct(Connection $database) {
  $this->database = $database;
}