captcha.routing.yml 2.06 KB
Newer Older
1
captcha_settings:
2
  path: '/admin/config/people/captcha'
3 4
  defaults:
    _form: '\Drupal\captcha\Form\CaptchaSettingsForm'
5
    _title: 'CAPTCHA settings'
6
  requirements:
7 8 9 10 11 12
    _permission: 'administer CAPTCHA settings'

captcha_examples:
  path: '/admin/config/people/captcha/examples/{module}/{challenge}'
  defaults:
    _form: '\Drupal\captcha\Form\CaptchaExamplesForm'
13
    _title: 'CAPTCHA examples'
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    module: ''
    challenge: ''
  requirements:
    _permission: 'administer CAPTCHA settings'

captcha_point.list:
  path: '/admin/config/people/captcha/captcha-points'
  defaults:
    _entity_list: 'captcha_point'
    _title: 'CAPTCHA configuration'
  requirements:
    _permission: 'administer CAPTCHA settings'

captcha_point.add:
  path: '/admin/config/people/captcha/captcha-points/add'
  defaults:
    _entity_form: 'captcha_point.add'
    _title: 'Add CAPTCHA point'
  requirements:
    _permission: 'administer CAPTCHA settings'

35
entity.captcha_point.edit_form:
36 37 38 39 40 41 42 43 44
  path: '/admin/config/people/captcha/captcha-points/{captcha_point}'
  defaults:
    _entity_form: 'captcha_point.edit'
    _title: 'Edit CAPTCHA point'
  options:
      _admin_route: TRUE
  requirements:
    _permission: 'administer CAPTCHA settings'

45
entity.captcha_point.disable:
46 47 48 49 50
  path: '/admin/config/people/captcha/captcha-points/{captcha_point}/disable'
  defaults:
    _entity_form: 'captcha_point.disable'
    _title: 'Disable CAPTCHA point'
  options:
51
    _admin_route: TRUE
52
  requirements:
53
    _entity_access: 'captcha_point.update'
54

55
entity.captcha_point.enable:
56 57 58 59 60
  path: '/admin/config/people/captcha/captcha-points/{captcha_point}/enable'
  defaults:
    _entity_form: 'captcha_point.enable'
    _title: 'Enable CAPTCHA point'
  options:
61
    _admin_route: TRUE
62
  requirements:
63
    _entity_access: 'captcha_point.update'
64

65
entity.captcha_point.delete_form:
66 67 68 69 70 71 72 73
  path: '/admin/config/people/captcha/captcha-points/{captcha_point}/delete'
  defaults:
    _entity_form: 'captcha_point.delete'
    _title: 'Delete CAPTCHA point'
  options:
      _admin_route: TRUE
  requirements:
    _permission: 'administer CAPTCHA settings'