You are here

farm_ui_views.services.yml in farmOS 2.x

modules/core/ui/views/farm_ui_views.services.yml

File

modules/core/ui/views/farm_ui_views.services.yml
View source
  1. services:
  2. farm_ui_views.route_subscriber:
  3. class: Drupal\farm_ui_views\Routing\RouteSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. farm_ui_views.asset_logs_access:
  7. class: Drupal\farm_ui_views\Access\FarmAssetLogViewsAccessCheck
  8. arguments: ['@entity_type.manager']
  9. tags:
  10. - { name: access_check, applies_to: _asset_logs_access }
  11. farm_ui_views.asset_children_access:
  12. class: Drupal\farm_ui_views\Access\FarmAssetChildrenViewsAccessCheck
  13. arguments: [ '@entity_type.manager', '@asset.location' ]
  14. tags:
  15. - { name: access_check, applies_to: _asset_children_access }
  16. farm_ui_views.asset_inventory_access:
  17. class: Drupal\farm_ui_views\Access\FarmInventoryAssetViewsAccessCheck
  18. arguments: [ '@entity_type.manager' ]
  19. tags:
  20. - { name: access_check, applies_to: _asset_inventory_access }
  21. farm_ui_views.location_assets_access:
  22. class: Drupal\farm_ui_views\Access\FarmLocationAssetViewsAccessCheck
  23. arguments: [ '@entity_type.manager', '@asset.location' ]
  24. tags:
  25. - { name: access_check, applies_to: _location_assets_access }