You are here

public function DashboardFormBase::__construct in Draggable dashboard 8

DashboardFormBase constructor.

Parameters

\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: Theme manager.

\Drupal\Core\Block\BlockManagerInterface $block_manager: Block manager.

File

src/Form/DashboardFormBase.php, line 51

Class

DashboardFormBase
Provides a base class for draggable dashboard add/edit forms.

Namespace

Drupal\draggable_dashboard\Form

Code

public function __construct(ThemeManagerInterface $theme_manager, BlockManagerInterface $block_manager) {
  $this->themeManager = $theme_manager;
  $this->blockManager = $block_manager;
}