| Methods |
public
|
__construct(string $eventName = null)
Parameters
| $eventName |
the name of the event, or the name
|
Overridden by
|
#
|
public
|
getUIBuilder(): UIBuilder
Returns the UIBuilder for this event
Returns the UIBuilder for this event
|
#
|
public
|
addBlock(string $id, string $content, int $weight = 0, array $additional = []): UIBuildEvent
Parameters
| $id |
the block ID
|
| $content |
the contents
|
| $weight |
the weight
|
| $additional |
additional data
|
Implements
|
#
|
public
|
merge(UIBuilderInterface $builder)
Parameters
| $builder |
the builder to merge
|
Implements
|
#
|
public
|
getBlocks(): array
|
#
|
public
|
getBlockData(): array
|
#
|
public
|
addAttachment(string $attachment_type, array $data): AttachmentManagerInterface
Parameters
| $attachment_type |
the type of attachment
|
| $data |
the details of the attachment
|
Implements
|
#
|
public
|
getAttachments(): array
|
#
|
public
|
getAttachmentTypes(): array
|
#
|
public
|
getAttachmentsByType(string $attachment_type)
Parameters
| $attachment_type |
the attachment type
|
Implements
|
#
|
public
|
reset()
|
#
|