Interface for managing attachments.
Attachments can be things such as CSS style sheets, Javascript references or Javascript code. Each attachment is associated with a type.
| Methods | ||
|---|---|---|
public
|
addAttachment(string $attachment_type, array<mixed> $data): AttachmentManagerInterface
|
# |
public
|
getAttachments(): array<string, array<mixed>>
|
# |
public
|
getAttachmentTypes(): array<string>
|
# |
public
|
getAttachmentsByType(string $attachment_type): array<array<mixed>>
|
# |
| Constants | |||
|---|---|---|---|
public
|
CSS_ATTACHMENT = 'css'
|
# | |
public
|
JS_ATTACHMENT = 'js'
|
# | |