class ProductGroupExtension extends Twig_Extension

Class ProductGroupExtension is injected as app.empire_dashboard_layout service. BackendWidgetsPluginExtension handles the logic and provides necessary data for managed entity in twig.

Properties

protected ProductGroupManager $manager

Methods

__construct(ProductGroupManager $manager)

ProductGroupExtension constructor.

getFunctions()

{@inheritdoc}

array
getEntitiesForBlockElementsExtension(array $ids)

Get entities from database by ids

string
getName()

Returns the name of the extension.

Details

at line 27
__construct(ProductGroupManager $manager)

ProductGroupExtension constructor.

Parameters

ProductGroupManager $manager

at line 35
getFunctions()

{@inheritdoc}

at line 49
array getEntitiesForBlockElementsExtension(array $ids)

Get entities from database by ids

Parameters

array $ids

Return Value

array

at line 59
string getName()

Returns the name of the extension.

Return Value

string The extension name