comment_notify.routing.yml in Comment Notify 8
9 string references to YAML keys in comment_notify.routing.yml
- CommentNotifyNotificationsTest::testCommentTypeNotification in tests/
src/ Functional/ CommentNotifyNotificationsTest.php - Tests the notifications are sent correctly with multiple comment types.
- CommentNotifyNotificationsTest::testEntityNotification in tests/
src/ Functional/ CommentNotifyNotificationsTest.php - Tests that the notifications are working on a different entity than a node.
- CommentNotifySettings::buildForm in src/
Form/ CommentNotifySettings.php - Form constructor.
- CommentNotifySettings::getEditableConfigNames in src/
Form/ CommentNotifySettings.php - Gets the configuration names that will be editable.
- CommentNotifySettings::submitForm in src/
Form/ CommentNotifySettings.php - Form submission handler.
File
comment_notify.routing.ymlView source
- comment_notify.settings:
- path: /admin/config/people/comment_notify
- defaults:
- _title: Comment notification
- _form: \Drupal\comment_notify\Form\CommentNotifySettings
- requirements:
- _permission: 'administer comment notify'
-
- comment_notify.unsubscribe:
- path: /admin/config/people/comment_notify/unsubscribe
- defaults:
- _title: Unsubscribe from comment notifications
- _form: \Drupal\comment_notify\Form\CommentNotifyUnsubscribe
- requirements:
- _permission: 'administer comment notify'
-
- comment_notify.disable:
- path: '/comment_notify/disable/{hash}'
- defaults:
- _title: 'Disable comment notification'
- _controller: '\Drupal\comment_notify\Controller\CommentNotifyController::disable'
- requirements:
- _permission: 'access content'