ProductConnectorInterface
ProductConnectorInterface.php
:
20
Interface
Implemented by the package owning a product (its connector). Autoconfiguration tags implementations with `ibexa.featured.product.connector`, and the product provider looks them up by the product identifier each implementation declares with `#[AsTaggedItem(index: ProductIdentifier::<CASE>->value)]`.
The attribute is read for autoconfigured services only.
A product without a connector, i.e. a connector package that is not installed, counts as not enabled and is promoted.
Methods¶
getPage()
¶
ProductConnectorInterface.php
:
31
The product's own back office page, which its main menu entry opens once the product is enabled.
|
|
|
Return values
isEnabled()
¶
ProductConnectorInterface.php
:
26
Tells whether the product is enabled in the current installation, which means its own back office page takes over from the promotional one.
|
|
|
Return values
bool