You are here

fontawesome.routing.yml in Font Awesome Icons 8.2

Same filename and directory in other branches
  1. 8 fontawesome.routing.yml

File

fontawesome.routing.yml
View source
  1. fontawesome.admin_settings:
  2. path: '/admin/config/content/fontawesome'
  3. defaults:
  4. _form: '\Drupal\fontawesome\Form\SettingsForm'
  5. _title: 'Font Awesome settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. fontawesome.icon_dialog:
  9. path: '/fontawesome/dialog/icon/{editor}'
  10. defaults:
  11. _form: '\Drupal\fontawesome\Form\EditorIconDialog'
  12. _title: 'Add Font Awesome Icon'
  13. requirements:
  14. _entity_access: 'editor.use'
  15. fontawesome.autocomplete:
  16. path: '/fontawesome-autocomplete'
  17. defaults:
  18. _controller: '\Drupal\fontawesome\Controller\AutocompleteController::handleAutocomplete'
  19. _format: json
  20. requirements:
  21. _access: 'TRUE'