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.ymlView source
- services:
- farm_ui_views.route_subscriber:
- class: Drupal\farm_ui_views\Routing\RouteSubscriber
- tags:
- - { name: event_subscriber }
- farm_ui_views.asset_logs_access:
- class: Drupal\farm_ui_views\Access\FarmAssetLogViewsAccessCheck
- arguments: ['@entity_type.manager']
- tags:
- - { name: access_check, applies_to: _asset_logs_access }
- farm_ui_views.asset_children_access:
- class: Drupal\farm_ui_views\Access\FarmAssetChildrenViewsAccessCheck
- arguments: [ '@entity_type.manager', '@asset.location' ]
- tags:
- - { name: access_check, applies_to: _asset_children_access }
- farm_ui_views.asset_inventory_access:
- class: Drupal\farm_ui_views\Access\FarmInventoryAssetViewsAccessCheck
- arguments: [ '@entity_type.manager' ]
- tags:
- - { name: access_check, applies_to: _asset_inventory_access }
- farm_ui_views.location_assets_access:
- class: Drupal\farm_ui_views\Access\FarmLocationAssetViewsAccessCheck
- arguments: [ '@entity_type.manager', '@asset.location' ]
- tags:
- - { name: access_check, applies_to: _location_assets_access }