This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/zencrm.routing.yml
naomi 0e0b31cfcd Added custom block for creating profiles against a person.
It renders a link for each available profile type and they open in a popup which has a route and a controller.
2018-04-10 17:20:31 +02:00

8 lines
251 B
YAML

zencrm.profile.create:
path: '/zencrm/profile/add/{type}/{person_id}'
defaults:
_controller: '\Drupal\zencrm\Controller\ProfileController::createProfileForPerson'
_title: 'Add New Profile'
requirements:
_permission: 'access content'