Page callback: Presents the category edit form.
Drupal\contact\Plugin\Core\Entity\Category $category: The contact category to edit.
array A form array as expected by drupal_render().
function contact_category_edit(Category $category) {
drupal_set_title(t('Edit %label contact form category', array(
'%label' => $category
->label(),
)), PASS_THROUGH);
return entity_get_form($category);
}