public function GridLayoutDiscovery::__construct

Constructs a new YamlStyleDiscovery.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Cache\CacheBackendInterface $cache_backend: The cache backend.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

File

paragraphs_collection/src/GridLayoutDiscovery.php, line 64

Class

GridLayoutDiscovery
Provides common helper methods for style discovery.

Namespace

Drupal\paragraphs_collection

Code

public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, ThemeHandlerInterface $theme_handler) {
  $this->moduleHandler = $module_handler;
  $this->themeHandler = $theme_handler;
  $this->cache = $cache_backend;
}