Class ProductEventSource
Extends EventSource
Properties
productType
public ProductType $productType
Methods
elementType
Returns the element type this source is for.
public static elementType(): class-string<ElementInterface>
sources
Returns sources that should be registered for this type.
public static sources(): array<string,array>
|
|
|
| return |
array<string,array> |
keyed by source key, values are config arrays |
displayName
public displayName(): string
criteria
getCpUrl
public getCpUrl(): string
getActionUrl
public getActionUrl(): string
canView
public canView(User $user): bool
canViewPeers
public canViewPeers(User $user): bool
canCreate
public canCreate(User $user): bool
canDelete
public canDelete(User $user): bool