public function DashboardLayoutBuilderForm::__construct in Dashboards with Layout Builder 2.0.x
Same name and namespace in other branches
- 8 src/Form/DashboardLayoutBuilderForm.php \Drupal\dashboards\Form\DashboardLayoutBuilderForm::__construct()
File
- src/
Form/ DashboardLayoutBuilderForm.php, line 76
Class
- DashboardLayoutBuilderForm
- DashboardLayoutBuilderForm class.
Namespace
Drupal\dashboards\FormCode
public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, UserDataInterface $user_data, AccountInterface $account, ConfigFactoryInterface $config_factory) {
$this->layoutTempstoreRepository = $layout_tempstore_repository;
$this->userData = $user_data;
$this->account = $account;
$this->config = $config_factory
->get('dashboards.settings');
}