[TASK] Make \Be\Menus\ActionMenuItemViewHelper compilable
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Classes / Core / ViewHelper / AbstractTagBasedViewHelper.php
index 5e80f6c..d08a2a2 100644 (file)
@@ -122,4 +122,13 @@ abstract class AbstractTagBasedViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelp
                $this->registerTagAttribute('onclick', 'string', 'JavaScript evaluated for the onclick event');
        }
 
+       /**
+        * Get the TagBuilder for renderStatic function
+        *
+        * @return TagBuilder
+        */
+       protected static function getTagBuilder(){
+               return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(TagBuilder::class);
+       }
+
 }