Files
oberstufe-alt/typo3conf/ext/vhs/Classes/ViewHelpers/Asset/StyleViewHelper.php
2018-04-02 08:07:38 +02:00

36 lines
891 B
PHP

<?php
namespace FluidTYPO3\Vhs\ViewHelpers\Asset;
/*
* This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
/**
* ### Basic Style ViewHelper
*
* Allows inserting a `<link>` or `<style>` Asset. Settings
* specify where to insert the Asset and how to treat it.
*
* @package Vhs
* @subpackage ViewHelpers\Asset
*/
class StyleViewHelper extends AbstractAssetViewHelper {
/**
* @return void
*/
public function initializeArguments() {
parent::initializeArguments();
$this->overrideArgument('allowMoveToFooter', 'boolean', 'If TRUE, allows this Asset to be included in the document footer rather than the header. Should never be allowed for CSS.', FALSE, FALSE);
}
/**
* @var string
*/
protected $type = 'css';
}