public function DefaultController::shorten_keys_form in Shorten URLs 8
File
- src/
Controller/ DefaultController.php, line 20 - Contains \Drupal\shorten\Controller\DefaultController.
Class
- DefaultController
- Default controller for the shorten module.
Namespace
Drupal\shorten\ControllerCode
public function shorten_keys_form() {
$form = \Drupal::formBuilder()
->getForm('shorten_keys');
return \Drupal::service("renderer")
->render($form);
}