You are here

public function HomeboxForm::__construct in Homebox 8

HomeboxForm constructor.

Parameters

\Drupal\Core\Layout\LayoutPluginManager $layoutPluginManager: Layout plugin manager.

\Drupal\Core\Block\BlockManagerInterface $block_manager: Manager block plugin.

\Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository: Context repository plugin.

\Drupal\Core\Cache\CacheBackendInterface $cacheRender: A cache backend interface instance.

\Drupal\Core\Plugin\CachedDiscoveryClearerInterface $plugin_cache_clearer: A plugin cache clear instance.

File

src/Form/HomeboxForm.php, line 75

Class

HomeboxForm
Class HomeboxForm.

Namespace

Drupal\homebox\Form

Code

public function __construct(LayoutPluginManager $layoutPluginManager, BlockManagerInterface $block_manager, ContextRepositoryInterface $context_repository, CacheBackendInterface $cacheRender, CachedDiscoveryClearerInterface $plugin_cache_clearer) {
  $this->layoutPluginManager = $layoutPluginManager;
  $this->blockManager = $block_manager;
  $this->contextRepository = $context_repository;
  $this->cacheRender = $cacheRender;
  $this->pluginCacheClearer = $plugin_cache_clearer;
}