Abstract Class EventSource
Extends Model
Properties
dateFieldHandle
public string $dateFieldHandle
color
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 |
criteria
displayName
public displayName(): string
pluralDisplayName
public pluralDisplayName(): string
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