public function CssCollectionRenderer::__construct
public CssCollectionRenderer::__construct(StateInterface $state)
Constructs a CssCollectionRenderer.
Parameters
\Drupal\Core\State\StateInterface: The state key/value store.
File
- core/lib/Drupal/Core/Asset/CssCollectionRenderer.php, line 69
Class
- CssCollectionRenderer
- Renders CSS assets.
Namespace
Drupal\Core\AssetCode
public function __construct(StateInterface $state) { $this->state = $state; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!CssCollectionRenderer.php/function/CssCollectionRenderer::__construct/8.1.x