FluidTYPO3\Vhs\Traits\TagViewHelperTrait::registerUniversalTagAttributes PHP Метод

registerUniversalTagAttributes() защищенный Метод

Should be used inside registerArguments();
protected registerUniversalTagAttributes ( ) : void
Результат void
    protected function registerUniversalTagAttributes()
    {
        parent::registerUniversalTagAttributes();
        $this->registerArgument('forceClosingTag', 'boolean', 'If TRUE, forces the created tag to use a closing tag. If FALSE, allows self-closing tags.', false, false);
        $this->registerArgument('hideIfEmpty', 'boolean', 'Hide the tag completely if there is no tag content', false, false);
        $this->registerTagAttribute('contenteditable', 'string', 'Specifies whether the contents of the element are editable.');
        $this->registerTagAttribute('contextmenu', 'string', 'The value of the id attribute on the menu with which to associate the element as a context menu.');
        $this->registerTagAttribute('draggable', 'string', 'Specifies whether the element is draggable.');
        $this->registerTagAttribute('dropzone', 'string', 'Specifies what types of content can be dropped on the element, and instructs the UA about which ' . 'actions to take with content when it is dropped on the element.');
        $this->registerTagAttribute('translate', 'string', 'Specifies whether an element’s attribute values and contents of its children are to be translated ' . 'when the page is localized, or whether to leave them unchanged.');
        $this->registerTagAttribute('spellcheck', 'string', 'Specifies whether the element represents an element whose contents are subject to spell checking and ' . 'grammar checking.');
        $this->registerTagAttribute('hidden', 'string', 'Specifies that the element represents an element that is not yet, or is no longer, relevant.');
    }