Copied!

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

publicgetPage()

ProductConnectorInterface.php : 31

The product's own back office page, which its main menu entry opens once the product is enabled.

public getPage() : ProductPage

Return values

ProductPage

publicisEnabled()

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.

public isEnabled() : bool

Return values

bool