original_string: public function settingsHtml()
      {
          Craft::$app->view->registerAssetBundle(PatrolPluginAssetBundle::class);
  
          /**
           * @var SettingsModel $settings
           */
          $settings  = $this->getSettings();
          $variables = [
              'plugin'       => $this,
              'settings'     => $settings,
              'settingsJson' => $settings->getJsonObject(),
          ];
  
          $html = Craft::$app->view->renderTemplate('patrol/_settings', $variables);
  
          return Template::raw($html);
      }
code: public function settingsHtml()
      {
          Craft::$app->view->registerAssetBundle(PatrolPluginAssetBundle::class);
  
          /**
           * @var SettingsModel $settings
           */
          $settings  = $this->getSettings();
          $variables = [
              'plugin'       => $this,
              'settings'     => $settings,
              'settingsJson' => $settings->getJsonObject(),
          ];
  
          $html = Craft::$app->view->renderTemplate('patrol/_settings', $variables);
  
          return Template::raw($html);
      }
code_tokens: public function settingsHtml ( ) { Craft :: $ app -> view -> registerAssetBundle ( PatrolPluginAssetBundle :: class ) ; /**
           * @var SettingsModel $settings
           */ $ settings = $ this -> getSettings ( ) ; $ variables = [ 'plugin' => $ this , 'settings' => $ settings , 'settingsJson' => $ settings -> getJsonObject ( ) , ] ; $ html = Craft :: $ app -> view -> renderTemplate ( 'patrol/_settings' , $ variables ) ; return Template :: raw ( $ html ) ; }
docstring: Returns rendered settings UI as a twig markup object
  
  @return \Twig_Markup
  @throws \Twig_Error_Loader
  @throws \yii\base\Exception
  @throws \yii\base\InvalidConfigException
docstring_tokens: Returns rendered settings UI as a twig markup object