function shortenCsEditForm in Shorten URLs 8.2
Returns HTML representing the shorten service edit form.
1 string reference to 'shortenCsEditForm'
- shorten_cs_menu in modules/
shorten_cs/ shorten_cs.module - Implements hook_menu().
File
- modules/
shorten_cs/ shorten_cs.admin.inc, line 19 - Provides the configuration page for Shorten URLs Custom Services.
Code
function shortenCsEditForm($service) {
$form = \Drupal::formBuilder()
->getForm('shorten_cs_edit', $service);
return \Drupal::service("renderer")
->render($form);
}