flowpack / entity-usage
Provides an entity usage registration for Neos Flow
Installs: 18 011
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 12
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- flowpack/entity-usage-storageimplementation: ^1.0 || dev-main
- neos/flow: ^6.2 || ^7.0 || ^8.0 || dev-master
Suggests
- flowpack/entity-usage-databasestorage: Supports storing entity usages in the database
README
Concept
This package provides a generic usage tracking for any kind of entity in a Neos Flow application.
An additional package like Flowpack.EntityUsage.DatabaseStorage
is required for
storing those relations.
For each kind of entity a package needs to provide the mechanisms to register
and unregister usage. F.e. Flowpack.Neos.AssetUsage
provides this for
assets in Neos CMS.
Creating your own entity storage
My.Package:MyEntityUsageService:
className: Flowpack\EntityUsage\Servce\EntityUsageService
scope: singleton
arguments:
1:
value: 'my_service_id'
Related packages
- Flowpack.EntityUsage.DatabaseStorage for storing usages in the database
- Flowpack.Neos.AssetUsage for storing Neos.Media asset usages in Neos CMS