public function GridLayoutDiscovery::__construct in Paragraphs Collection 8
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
- src/
GridLayoutDiscovery.php, line 64
Class
- GridLayoutDiscovery
- Provides common helper methods for style discovery.
Namespace
Drupal\paragraphs_collectionCode
public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, ThemeHandlerInterface $theme_handler) {
$this->moduleHandler = $module_handler;
$this->themeHandler = $theme_handler;
$this->cache = $cache_backend;
}