You are here

service onlyone.route_subscriber in Allow a content type only once (Only One) 8

Class

Drupal\onlyone\Routing\RouteSubscriber

Tags

  • event_subscriber

File

./onlyone.services.yml
onlyone.services.yml

View source
  1. class: Drupal\onlyone\Routing\RouteSubscriber
  2. arguments:
  3. - '@config.factory'
  4. - '@plugin.manager.menu.local_action'
  5. tags:
  6. - { name: event_subscriber }