original_string: public function injectStylesAndScripts(array $params, PageLayoutController $ref): string
      {
          $jsCallbackFunction = null;
  
          // The translation view is shown. Disable floating elements for that view.
          if ($ref->MOD_SETTINGS['function'] === '2') {
              $jsCallbackFunction = 'function(ColumnLayout) {
                  ColumnLayout.settings.isTranslationView = true;
              }';
          }
  
          $ref->getModuleTemplate()->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/ColumnLayout/ColumnLayout', $jsCallbackFunction);
          $ref->getModuleTemplate()->getPageRenderer()->addCssFile('EXT:column_layout/Resources/Public/Css/column_layout.css');
          $ref->getModuleTemplate()->getPageRenderer()->addCssInlineBlock('column-layout', implode(LF, $this->inlineStyles), true);
  
          return '';
      }
code: public function injectStylesAndScripts(array $params, PageLayoutController $ref): string
      {
          $jsCallbackFunction = null;
  
          // The translation view is shown. Disable floating elements for that view.
          if ($ref->MOD_SETTINGS['function'] === '2') {
              $jsCallbackFunction = 'function(ColumnLayout) {
                  ColumnLayout.settings.isTranslationView = true;
              }';
          }
  
          $ref->getModuleTemplate()->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/ColumnLayout/ColumnLayout', $jsCallbackFunction);
          $ref->getModuleTemplate()->getPageRenderer()->addCssFile('EXT:column_layout/Resources/Public/Css/column_layout.css');
          $ref->getModuleTemplate()->getPageRenderer()->addCssInlineBlock('column-layout', implode(LF, $this->inlineStyles), true);
  
          return '';
      }
code_tokens: public function injectStylesAndScripts ( array $ params , PageLayoutController $ ref ) : string { $ jsCallbackFunction = null ; // The translation view is shown. Disable floating elements for that view. if ( $ ref -> MOD_SETTINGS [ 'function' ] === '2' ) { $ jsCallbackFunction = 'function(ColumnLayout) {
                  ColumnLayout.settings.isTranslationView = true;
              }' ; } $ ref -> getModuleTemplate ( ) -> getPageRenderer ( ) -> loadRequireJsModule ( 'TYPO3/CMS/ColumnLayout/ColumnLayout' , $ jsCallbackFunction ) ; $ ref -> getModuleTemplate ( ) -> getPageRenderer ( ) -> addCssFile ( 'EXT:column_layout/Resources/Public/Css/column_layout.css' ) ; $ ref -> getModuleTemplate ( ) -> getPageRenderer ( ) -> addCssInlineBlock ( 'column-layout' , implode ( LF , $ this -> inlineStyles ) , true ) ; return '' ; }
docstring: Hook for header rendering of the PageLayoutController to inject stylesheet required for custom column layout
  display.
  
  @see PageLayoutController::renderContent()
  
  @param array $params
  @param PageLayoutController $ref
  @return string html to be added to the page layout
docstring_tokens: Hook for header rendering of the PageLayoutController to inject stylesheet required for custom column layout display .