public function HomeboxSettingsForm::__construct in Homebox 8
HomeboxSettingsForm constructor.
Parameters
\Drupal\Core\Layout\LayoutPluginManager $layoutPluginManager: Layout plugin manager.
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage class.
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.
\Symfony\Component\HttpFoundation\Request $request: The current request.
\Drupal\Core\Block\BlockManagerInterface $block_manager: Manager block plugin.
File
- src/
Form/ HomeboxSettingsForm.php, line 102
Class
- HomeboxSettingsForm
- Class HomeboxForm.
Namespace
Drupal\homebox\FormCode
public function __construct(LayoutPluginManager $layoutPluginManager, EntityStorageInterface $entity_storage, ThemeManagerInterface $theme_manager, Request $request, BlockManagerInterface $block_manager) {
$this->layoutPluginManager = $layoutPluginManager;
$this->storage = $entity_storage;
$this->themeManager = $theme_manager;
$this->request = $request;
$this->blockManager = $block_manager;
}