ContentPublicationStrategyInterface
ContentPublicationStrategyInterface.php
:
21
Interface
Entry point for publishing a content version, hiding whether the publication happens synchronously (in-request) or asynchronously (queued background work).
Strategies are registered with the "ibexa.repository.content.publication_strategy" service tag and consulted in priority order; the first one supporting the current repository executes.
Methods¶
publishVersion()
¶
ContentPublicationStrategyInterface.php
:
32
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $versionInfo | VersionInfo | - | - |
| $translations | array<int, string> | Language::ALL |
List of language codes of translations which will be included in a published version |
Return values
Tags
supports()
¶
ContentPublicationStrategyInterface.php
:
23
|
|
|
Return values
bool