Entity URI callback.
Drupal\contact\Plugin\Core\Entity\Category $category: A contact category entity.
array An array with 'path' as the key and the path to the category as the value.
function contact_category_uri(Category $category) {
return array(
'path' => 'admin/structure/contact/manage/' . $category
->id(),
);
}