
| Current Path : /var/www/html/12park/web/modules/contrib/webform/src/Controller/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/12park/web/modules/contrib/webform/src/Controller/WebformHelpController.php |
<?php
namespace Drupal\webform\Controller;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Provides route responses for Webform help.
*/
class WebformHelpController extends ControllerBase implements ContainerInjectionInterface {
/**
* The webform help manager.
*
* @var \Drupal\webform\WebformHelpManagerInterface
*/
protected $help;
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
$instance = parent::create($container);
$instance->help = $container->get('webform.help_manager');
return $instance;
}
/**
* Returns the Webform help page.
*
* @return array
* The webform submission webform.
*/
public function index() {
return $this->help->buildIndex();
}
}