<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the private 'oro_datagrid.configuration.provider.chain' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Oro/Bundle/DataGridBundle/Provider/ConfigurationProviderInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Oro/Bundle/DataGridBundle/Provider/ChainConfigurationProvider.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Oro/Bundle/DataGridBundle/Provider/ConfigurationProvider.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/dependency-injection/ContainerAwareInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Oro/Bundle/DataGridBundle/Provider/SystemAwareResolver.php';

$this->privates['oro_datagrid.configuration.provider.chain'] = $instance = new \Oro\Bundle\DataGridBundle\Provider\ChainConfigurationProvider();

$instance->addProvider(new \Oro\Bundle\DataGridBundle\Provider\ConfigurationProvider(['pim-user-group-grid' => ['options' => ['entityHint' => 'group', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_user_group_index', 'type' => 'orm', 'query' => ['select' => [0 => 'g.id', 1 => 'g.name'], 'from' => [0 => ['table' => 'Akeneo\\UserManagement\\Component\\Model\\Group', 'alias' => 'g']], 'where' => ['and' => [0 => 'g.name <> \'Akeneo\\UserManagement\\Component\\Model\\User::GROUP_DEFAULT\'']]]], 'columns' => ['name' => ['label' => 'pim_common.name', 'frontend_type' => 'label']], 'properties' => ['id' => NULL, 'update_link' => ['type' => 'url', 'route' => 'pim_user_group_update', 'params' => [0 => 'id']], 'delete_link' => ['type' => 'url', 'route' => 'pim_user_group_delete', 'params' => [0 => 'id']]], 'actions' => ['update' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.update', 'link' => 'update_link', 'acl_resource' => 'pim_user_group_edit', 'rowAction' => true], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_user_group_remove']], 'sorters' => ['columns' => ['name' => ['data_name' => 'g.name']], 'default' => ['name' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['name' => ['type' => 'search', 'data_name' => 'g.name']]]], 'pim-role-user-grid' => ['extend' => 'pim-user-relation-grid', 'source' => ['acl_resource' => 'pim_user_role_edit', 'query' => ['select' => [0 => '(CASE WHEN (:role_id IS NOT NULL) THEN'."\n".'  CASE WHEN (:role_id MEMBER OF u.roles OR u.id IN (:data_in)) AND u.id NOT IN (:data_not_in)'."\n".'  THEN true ELSE false END'."\n".'ELSE'."\n".'  CASE WHEN u.id IN (:data_in) AND u.id NOT IN (:data_not_in)'."\n".'  THEN true ELSE false END'."\n".'END) as has_role'."\n".'']]], 'columns' => ['has_role' => ['label' => 'pim_user.user.fields.has_role', 'editable' => true, 'frontend_type' => 'boolean'], 'username' => ['label' => 'pim_user.user.fields.username', 'frontend_type' => 'label'], 'email' => ['label' => 'pim_user.user.fields.email'], 'firstName' => ['label' => 'pim_user.user.fields.first_name'], 'lastName' => ['label' => 'pim_user.user.fields.last_name']], 'filters' => ['columns' => ['has_role' => ['type' => 'boolean', 'data_name' => 'has_role', 'filter_by_having' => true], 'firstName' => ['type' => 'string', 'data_name' => 'u.firstName'], 'lastName' => ['type' => 'string', 'data_name' => 'u.lastName'], 'username' => ['type' => 'string', 'data_name' => 'u.username'], 'email' => ['type' => 'string', 'data_name' => 'u.email']]], 'sorters' => ['columns' => ['has_role' => ['data_name' => 'has_role']], 'default' => ['has_role' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'options' => ['requireJSModules' => [0 => 'oro/datagrid/column-form-listener', 1 => 'oro/datagrid/pagination-input'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'has_role', 'selectors' => ['included' => '#roleAppendUsers', 'excluded' => '#roleRemoveUsers']]]], 'pim-role-grid' => ['options' => ['entityHint' => 'role', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_user_role_index', 'type' => 'orm', 'query' => ['select' => [0 => 'r.id', 1 => 'r.role', 2 => 'r.label'], 'from' => [0 => ['table' => 'Akeneo\\UserManagement\\Component\\Model\\Role', 'alias' => 'r']], 'where' => ['and' => [0 => 'r.role <> \'Akeneo\\UserManagement\\Component\\Model\\User::ROLE_ANONYMOUS\'']]]], 'columns' => ['label' => ['label' => 'pim_datagrid.columns.roles.label', 'frontend_type' => 'label']], 'properties' => ['id' => NULL, 'update_link' => ['type' => 'url', 'route' => 'pim_user_role_update', 'params' => [0 => 'id']], 'delete_link' => ['type' => 'url', 'route' => 'pim_user_role_delete', 'params' => [0 => 'id']]], 'actions' => ['update' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.update', 'link' => 'update_link', 'acl_resource' => 'pim_user_role_edit', 'rowAction' => true], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_user_role_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'r.label']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'data_name' => 'r.label']]]], 'pim-user-relation-grid' => ['source' => ['type' => 'orm', 'query' => ['select' => [0 => 'u.id', 1 => 'u.username', 2 => 'u.email', 3 => 'u.firstName', 4 => 'u.lastName'], 'from' => [0 => ['table' => 'Akeneo\\UserManagement\\Component\\Model\\User', 'alias' => 'u']], 'where' => ['and' => [0 => 'u.type = \'Akeneo\\UserManagement\\Component\\Model\\User::TYPE_USER\'']]]], 'columns' => [], 'properties' => ['id' => NULL], 'sorters' => ['columns' => ['username' => ['data_name' => 'u.username'], 'email' => ['data_name' => 'u.email'], 'firstName' => ['data_name' => 'u.firstName'], 'lastName' => ['data_name' => 'u.lastName']], 'default' => ['id' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => []], 'pim-group-user-grid' => ['extend' => 'pim-user-relation-grid', 'source' => ['acl_resource' => 'pim_user_group_edit', 'query' => ['select' => [0 => '(CASE WHEN (:group_id IS NOT NULL) THEN'."\n".'  CASE WHEN (:group_id MEMBER OF u.groups OR u.id IN (:data_in)) AND u.id NOT IN (:data_not_in)'."\n".'  THEN true ELSE false END'."\n".'ELSE'."\n".'  CASE WHEN u.id IN (:data_in) AND u.id NOT IN (:data_not_in)'."\n".'  THEN true ELSE false END'."\n".'END) as has_group'."\n".'']]], 'columns' => ['has_group' => ['label' => 'pim_user.user.fields.has_group', 'editable' => true, 'frontend_type' => 'boolean'], 'username' => ['label' => 'pim_user.user.fields.username', 'frontend_type' => 'label'], 'email' => ['label' => 'pim_user.user.fields.email'], 'firstName' => ['label' => 'pim_user.user.fields.first_name'], 'lastName' => ['label' => 'pim_user.user.fields.last_name']], 'filters' => ['columns' => ['has_group' => ['type' => 'boolean', 'data_name' => 'has_group', 'filter_by_having' => true], 'username' => ['type' => 'string', 'data_name' => 'u.username'], 'email' => ['type' => 'string', 'data_name' => 'u.email'], 'firstName' => ['type' => 'string', 'data_name' => 'u.firstName'], 'lastName' => ['type' => 'string', 'data_name' => 'u.lastName']]], 'sorters' => ['columns' => ['has_group' => ['data_name' => 'has_group']], 'default' => ['has_group' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'options' => ['requireJSModules' => [0 => 'oro/datagrid/column-form-listener', 1 => 'oro/datagrid/pagination-input'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'has_group', 'selectors' => ['included' => '#groupAppendUsers', 'excluded' => '#groupRemoveUsers']]]], 'pim-user-grid' => ['extended_entity_name' => 'Akeneo\\UserManagement\\Component\\Model\\User', 'options' => ['entityHint' => 'user', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_user_user_index', 'type' => 'orm', 'query' => ['select' => [0 => 'u.id', 1 => 'u.username', 2 => 'u.email', 3 => 'u.firstName', 4 => 'u.lastName', 5 => 'u.createdAt', 6 => 'u.updatedAt', 7 => 'u.enabled'], 'from' => [0 => ['table' => 'Akeneo\\UserManagement\\Component\\Model\\User', 'alias' => 'u']], 'where' => ['and' => [0 => 'u.type = \'Akeneo\\UserManagement\\Component\\Model\\User::TYPE_USER\'']]]], 'columns' => ['username' => ['label' => 'pim_user.user.fields.username', 'frontend_type' => 'label'], 'firstName' => ['label' => 'pim_user.user.fields.first_name'], 'lastName' => ['label' => 'pim_user.user.fields.last_name'], 'enabled' => ['label' => 'pim_user.user.fields.status', 'frontend_type' => 'select', 'choices' => [0 => 'Inactive', 1 => 'Active']]], 'properties' => ['id' => NULL, 'update_link' => ['type' => 'url', 'route' => 'pim_user_edit', 'params' => ['identifier' => 'id']], 'delete_link' => ['type' => 'url', 'route' => 'pim_user_user_rest_delete', 'params' => ['identifier' => 'id']]], 'sorters' => ['columns' => ['username' => ['data_name' => 'u.username'], 'firstName' => ['data_name' => 'u.firstName'], 'lastName' => ['data_name' => 'u.lastName'], 'enabled' => ['data_name' => 'u.enabled']], 'default' => ['username' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['username' => ['type' => 'search', 'data_name' => 'u.username'], 'firstName' => ['type' => 'string', 'data_name' => 'u.firstName'], 'lastName' => ['type' => 'string', 'data_name' => 'u.lastName'], 'enabled' => ['type' => 'choice', 'data_name' => 'u.enabled', 'options' => ['field_options' => ['choices' => ['Inactive' => 0, 'Active' => 1]]]]]], 'actions' => ['update' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.update', 'link' => 'update_link', 'rowAction' => true], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_user_user_remove']]], 'locale-grid' => ['options' => ['entityHint' => 'locale', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_locale_index', 'type' => 'pim_datasource_locale'], 'columns' => ['code' => ['label' => 'Code', 'frontend_type' => 'label'], 'activated' => ['label' => 'Activated', 'type' => 'twig', 'template' => 'PimDataGridBundle:Property:activated.html.twig', 'frontend_type' => 'html']], 'properties' => NULL, 'actions' => NULL, 'sorters' => ['columns' => ['code' => ['data_name' => 'l.code'], 'activated' => ['data_name' => 'l.activated']], 'default' => ['code' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['code' => ['type' => 'search', 'label' => 'Code', 'data_name' => 'l.code'], 'activated' => ['type' => 'boolean', 'label' => 'Activated', 'data_name' => 'l.activated']]]], 'currency-grid' => ['options' => ['entityHint' => 'currency', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_currency_index', 'type' => 'pim_datasource_currency'], 'columns' => ['code' => ['label' => 'Code', 'type' => 'twig', 'template' => 'PimDataGridBundle:Property:currency_label.html.twig', 'frontend_type' => 'html'], 'activated' => ['label' => 'Activated', 'type' => 'twig', 'template' => 'PimDataGridBundle:Property:activated.html.twig', 'frontend_type' => 'html']], 'properties' => ['id' => NULL, 'toggle_link' => ['type' => 'url', 'route' => 'pim_enrich_currency_toggle', 'params' => [0 => 'id']]], 'actions' => ['toggle' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--switch'], 'type' => 'ajax', 'label' => 'pim_datagrid.actions.change_status', 'link' => 'toggle_link', 'acl_resource' => 'pim_enrich_currency_toggle']], 'sorters' => ['columns' => ['code' => ['data_name' => 'c.code'], 'activated' => ['data_name' => 'c.activated']], 'default' => ['code' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['code' => ['type' => 'search', 'label' => 'Code', 'data_name' => 'c.code'], 'activated' => ['type' => 'boolean', 'label' => 'Activated', 'data_name' => 'c.activated']]]], 'channel-grid' => ['options' => ['entityHint' => 'channel', 'locale_parameter' => 'localeCode', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_channel_index', 'type' => 'pim_datasource_channel'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'category' => ['label' => 'Category tree', 'data_name' => 'categoryLabel']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_channel_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_channel_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true, 'acl_resource' => 'pim_enrich_channel_edit'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_channel_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'channelLabel'], 'category' => ['data_name' => 'categoryLabel']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label'], 'category' => ['type' => 'choice', 'label' => 'Category tree', 'data_name' => 'category.code', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_enrich.repository.category->findTranslatedLabels']]]]]], 'association-product-model-grid' => ['options' => ['entityHint' => 'product', 'requireJSModules' => [0 => 'pim/datagrid/column-form-listener'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'is_checked'], 'rowView' => 'pim/product-edit-form/associated-product-row', 'manageFilters' => false, 'emptyGridOptions' => ['hint' => 'pim_datagrid.empty_results.associated_product.hint', 'subHint' => 'pim_datagrid.empty_results.associated_product.subHint', 'imageClass' => 'AknGridContainer-noDataImage--associations']], 'source' => ['type' => 'pim_datasource_associated_product_model', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\ProductModel', 'user_config_alias' => 'product-grid'], 'columns' => ['identifier' => ['label' => 'ID', 'data_name' => 'identifier', 'type' => 'field'], 'is_checked' => ['frontend_type' => 'boolean', 'editable' => true], 'is_associated' => ['label' => 'Is associated', 'frontend_type' => 'boolean-label'], 'image' => ['label' => 'Image', 'data_name' => 'image', 'frontend_type' => 'image'], 'label' => ['label' => 'Label', 'type' => 'field'], 'family' => ['label' => 'Family', 'type' => 'field'], 'enabled' => ['label' => 'Status', 'frontend_type' => 'enabled'], 'completeness' => ['label' => 'Complete', 'frontend_type' => 'completeness'], 'complete_variant_products' => ['label' => 'Variant products', 'data_name' => 'complete_variant_product', 'frontend_type' => 'complete-variant-product'], 'created' => ['label' => 'Created At', 'type' => 'field'], 'updated' => ['label' => 'Updated At', 'type' => 'field'], 'from_inheritance' => ['frontend_type' => 'boolean']], 'properties' => ['id' => NULL, 'document_type' => NULL], 'filters' => ['columns' => ['label_or_identifier' => ['type' => 'label_or_identifier', 'label' => 'Label or identifier', 'data_name' => 'label_or_identifier']]]], 'association-product-picker-grid' => ['options' => ['entityHint' => 'product', 'requireJSModules' => [0 => 'pim/datagrid/column-form-listener'], 'columnListener' => ['dataField' => 'identifier', 'columnName' => 'is_checked'], 'routerEnabled' => false], 'source' => ['acl_resource' => 'pim_enrich_product_index', 'type' => 'pim_datasource_product', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\Product'], 'columns' => ['is_checked' => ['frontend_type' => 'boolean', 'data_name' => 'is_checked', 'editable' => true], 'identifier' => ['label' => 'ID', 'data_name' => 'identifier', 'type' => 'field'], 'image' => ['label' => 'Image', 'data_name' => 'image', 'frontend_type' => 'product-and-product-model-image'], 'label' => ['label' => 'Label', 'data_name' => 'label', 'type' => 'field', 'frontend_type' => 'product-and-product-model-label'], 'completeness' => ['label' => 'Complete', 'frontend_type' => 'completeness'], 'complete_variant_products' => ['label' => 'Variant products', 'data_name' => 'complete_variant_product', 'frontend_type' => 'complete-variant-product']], 'properties' => ['id' => NULL, 'technical_id' => NULL, 'document_type' => NULL], 'sorters' => ['columns' => ['identifier' => ['data_name' => 'identifier', 'sorter' => 'product_field'], 'completeness' => ['data_name' => 'ratio', 'sorter' => 'product_completeness']], 'default' => ['updated' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['family' => ['type' => 'product_family', 'label' => 'Family', 'data_name' => 'family', 'options' => ['field_options' => ['multiple' => true, 'attr' => ['empty_choice' => true]]]], 'enabled' => ['type' => 'product_enabled', 'ftype' => 'choice', 'label' => 'Status', 'data_name' => 'enabled', 'options' => ['field_options' => ['choices' => ['Enabled' => 1, 'Disabled' => 0]]]], 'completeness' => ['type' => 'product_and_product_model_completeness', 'label' => 'Complete', 'data_name' => 'ratio'], 'label_or_identifier' => ['type' => 'label_or_identifier', 'label' => 'Label or identifier', 'data_name' => 'label_or_identifier']]]], 'association-product-grid' => ['options' => ['entityHint' => 'product', 'requireJSModules' => [0 => 'pim/datagrid/column-form-listener'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'is_checked'], 'rowView' => 'pim/product-edit-form/associated-product-row', 'manageFilters' => false, 'emptyGridOptions' => ['hint' => 'pim_datagrid.empty_results.associated_product.hint', 'subHint' => 'pim_datagrid.empty_results.associated_product.subHint', 'imageClass' => 'AknGridContainer-noDataImage--associations']], 'source' => ['type' => 'pim_datasource_associated_product', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\Product', 'user_config_alias' => 'product-grid'], 'columns' => ['identifier' => ['label' => 'ID', 'data_name' => 'identifier', 'type' => 'field'], 'is_checked' => ['frontend_type' => 'boolean', 'editable' => true], 'is_associated' => ['label' => 'Is associated', 'frontend_type' => 'boolean-label'], 'image' => ['label' => 'Image', 'data_name' => 'image', 'frontend_type' => 'image'], 'label' => ['label' => 'Label', 'type' => 'field'], 'family' => ['label' => 'Family', 'type' => 'field'], 'enabled' => ['label' => 'Status', 'frontend_type' => 'enabled'], 'completeness' => ['label' => 'Complete', 'frontend_type' => 'completeness'], 'complete_variant_products' => ['label' => 'Variant products', 'data_name' => 'complete_variant_product', 'frontend_type' => 'complete-variant-product'], 'created' => ['label' => 'Created At', 'type' => 'field'], 'updated' => ['label' => 'Updated At', 'type' => 'field'], 'from_inheritance' => ['frontend_type' => 'boolean']], 'properties' => ['id' => NULL, 'document_type' => NULL], 'filters' => ['columns' => ['label_or_identifier' => ['type' => 'label_or_identifier', 'label' => 'Label or identifier', 'data_name' => 'label_or_identifier']]]], 'product-group-grid' => ['options' => ['entityHint' => 'product', 'requireJSModules' => [0 => 'pim/datagrid/column-form-listener', 1 => 'oro/datagrid/pagination-input', 2 => 'oro/datafilter-builder'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'is_checked', 'selectors' => ['included' => '#appendProducts', 'excluded' => '#removeProducts']]], 'source' => ['acl_resource' => 'pim_enrich_product_index', 'type' => 'pim_datasource_group_product', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\Product'], 'columns' => ['is_checked' => ['frontend_type' => 'boolean', 'data_name' => 'is_checked', 'editable' => true], 'in_group' => ['label' => 'In group', 'frontend_type' => 'boolean-label'], 'label' => ['label' => 'Label', 'data_name' => 'label', 'type' => 'field'], 'family' => ['label' => 'Family', 'data_name' => 'family', 'type' => 'field'], 'enabled' => ['label' => 'Status', 'frontend_type' => 'enabled'], 'completeness' => ['label' => 'Complete', 'frontend_type' => 'completeness'], 'created' => ['label' => 'Created At', 'type' => 'field'], 'updated' => ['label' => 'Updated At', 'type' => 'field']], 'properties' => ['id' => NULL, 'identifier' => NULL], 'sorters' => ['columns' => ['in_group' => ['data_name' => 'in_group', 'sorter' => 'product_in_group'], 'family' => ['data_name' => 'familyLabel', 'sorter' => 'product_family'], 'enabled' => ['data_name' => 'enabled', 'sorter' => 'product_field'], 'completeness' => ['data_name' => 'ratio', 'sorter' => 'product_completeness'], 'created' => ['data_name' => 'created', 'sorter' => 'product_field'], 'updated' => ['data_name' => 'updated', 'sorter' => 'product_field']], 'default' => ['in_group' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['in_group' => ['type' => 'product_in_group', 'ftype' => 'boolean', 'label' => 'In group', 'data_name' => 'in_group'], 'family' => ['type' => 'product_family', 'label' => 'Family', 'data_name' => 'family', 'options' => ['field_options' => ['multiple' => true, 'attr' => ['empty_choice' => true]]]], 'enabled' => ['type' => 'product_enabled', 'ftype' => 'choice', 'label' => 'Status', 'data_name' => 'enabled', 'options' => ['field_options' => ['choices' => ['Enabled' => 1, 'Disabled' => 0]]]], 'completeness' => ['type' => 'product_completeness', 'label' => 'Complete', 'data_name' => 'ratio'], 'created' => ['type' => 'product_date', 'ftype' => 'date', 'data_name' => 'created', 'label' => 'Created At'], 'updated' => ['type' => 'product_date', 'ftype' => 'date', 'data_name' => 'updated', 'label' => 'Updated At'], 'scope' => ['type' => 'product_scope', 'label' => 'Scope', 'data_name' => 'values.scope', 'options' => ['field_options' => ['choices' => '@pim_catalog.repository.channel->getLabelsIndexedByCode(@pim_user.context.user->getCurrentLocaleCode())']]]]]], 'association-group-grid' => ['options' => ['entityHint' => 'group', 'requireJSModules' => [0 => 'pim/datagrid/column-form-listener'], 'columnListener' => ['dataField' => 'id', 'columnName' => 'is_checked']], 'source' => ['type' => 'pim_datasource_default', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\Group', 'repository_method' => 'createAssociationDatagridQueryBuilder'], 'columns' => ['is_checked' => ['frontend_type' => 'boolean', 'data_name' => 'is_checked', 'editable' => true], 'is_associated' => ['label' => 'Is associated', 'data_name' => 'is_associated', 'frontend_type' => 'boolean-label', 'primary' => true], 'code' => ['label' => 'Code'], 'label' => ['label' => 'Label'], 'type' => ['label' => 'Type']], 'properties' => ['id' => NULL], 'sorters' => ['columns' => ['is_associated' => ['data_name' => 'is_associated'], 'code' => ['data_name' => 'g.code'], 'label' => ['data_name' => 'groupLabel'], 'type' => ['data_name' => 'typeLabel']], 'default' => ['is_associated' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'data_name' => 'groupLabel'], 'is_associated' => ['type' => 'boolean', 'label' => 'Is associated', 'data_name' => 'is_associated', 'filter_by_having' => true], 'code' => ['type' => 'string', 'label' => 'Code', 'data_name' => 'g.code'], 'type' => ['type' => 'choice', 'label' => 'Type', 'data_name' => 'g.type', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_enrich.repository.group_type->findTranslatedLabels']]]]]], 'group-grid' => ['options' => ['entityHint' => 'group', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_group_index', 'type' => 'pim_datasource_group'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'type' => ['label' => 'Type']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_group_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_group_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true, 'acl_resource' => 'pim_enrich_group_edit'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_group_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'groupLabel'], 'type' => ['data_name' => 'typeLabel']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label'], 'type' => ['type' => 'choice', 'label' => 'Type', 'data_name' => 'g.type', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_enrich.repository.group_type->findTranslatedLabels']]]]]], 'product-grid' => ['options' => ['entityHint' => 'product', 'filtersAsColumn' => true, 'displayTypes' => ['default' => ['label' => 'pim_datagrid.display_selector.list'], 'gallery' => ['label' => 'pim_datagrid.display_selector.gallery', 'rowView' => 'oro/datagrid/product-row', 'manageColumns' => false]]], 'source' => ['acl_resource' => 'pim_enrich_product_index', 'type' => 'pim_datasource_product', 'entity' => 'Akeneo\\Pim\\Enrichment\\Component\\Product\\Model\\Product'], 'columns' => ['identifier' => ['label' => 'ID', 'data_name' => 'identifier', 'type' => 'field'], 'image' => ['label' => 'Image', 'data_name' => 'image', 'frontend_type' => 'product-and-product-model-image'], 'label' => ['label' => 'Label', 'data_name' => 'label', 'type' => 'field', 'frontend_type' => 'product-and-product-model-label'], 'family' => ['label' => 'Family', 'data_name' => 'family', 'type' => 'field'], 'enabled' => ['label' => 'Status', 'frontend_type' => 'enabled'], 'completeness' => ['label' => 'Complete', 'frontend_type' => 'completeness'], 'created' => ['label' => 'Created At', 'type' => 'field'], 'updated' => ['label' => 'Updated At', 'type' => 'field'], 'complete_variant_products' => ['label' => 'Variant products', 'data_name' => 'complete_variant_product', 'frontend_type' => 'complete-variant-product']], 'other_columns' => ['groups' => ['label' => 'Groups', 'data_name' => 'groups', 'type' => 'field'], 'parent' => ['label' => 'Parent', 'data_name' => 'parent', 'type' => 'field']], 'properties' => ['id' => ['type' => 'field', 'data_name' => 'search_id'], 'label' => ['type' => 'field', 'data_name' => 'label'], 'image' => ['data_name' => 'image', 'frontend_type' => 'product-and-product-model-image'], 'identifier' => ['type' => 'field', 'data_name' => 'identifier'], 'completeness' => ['type' => 'field', 'frontend_type' => 'completeness'], 'complete_variant_products' => ['type' => 'field', 'data_name' => 'complete_variant_product', 'frontend_type' => 'complete-variant-product'], 'document_type' => NULL, 'technical_id' => NULL, 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_product_rest_remove', 'params' => [0 => 'id']], 'toggle_status_link' => ['type' => 'url', 'route' => 'pim_enrich_product_toggle_status', 'params' => [0 => 'id']]], 'actions' => ['edit' => ['type' => 'navigate-product-and-product-model', 'label' => NULL, 'icon' => NULL, 'rowAction' => true], 'edit_attributes' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate-product-and-product-model', 'label' => 'pim_datagrid.actions.edit_product_attributes', 'tabRedirects' => ['product' => 'pim-product-edit-form-attributes', 'product_model' => 'pim-product-model-edit-form-attributes']], 'edit_categories' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--folder'], 'type' => 'navigate-product-and-product-model', 'label' => 'pim_datagrid.actions.classify_product', 'tabRedirects' => ['product' => 'pim-product-edit-form-categories', 'product_model' => 'pim-product-edit-form-categories']], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete-product', 'label' => 'pim_datagrid.actions.delete_product', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_product_remove'], 'toggle_status' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--switch'], 'type' => 'toggle-product', 'label' => 'pim_datagrid.actions.toggle_status', 'link' => 'toggle_status_link', 'acl_resource' => 'pim_enrich_product_change_state']], 'mass_actions_groups' => ['bulk_actions' => ['label' => 'pim_datagrid.mass_action_group.bulk_actions.label'], 'quick_export' => ['label' => 'pim_datagrid.mass_action_group.quick_export.label']], 'mass_actions' => ['product_edit' => ['type' => 'edit', 'acl_resource' => 'pim_enrich_mass_edit', 'label' => 'pim_datagrid.mass_action.mass_edit', 'route' => 'pim_enrich_mass_edit_action', 'className' => 'AknButton AknButton--action AknButtonList-item', 'route_parameters' => ['actionName' => 'product-edit']], 'sequential_edit' => ['type' => 'sequential_edit', 'acl_resource' => 'pim_enrich_product_edit_attributes', 'label' => 'pim_datagrid.mass_action.sequential_edit', 'className' => 'AknButton AknButton--action AknButtonList-item'], 'delete_products_and_product_models' => ['type' => 'mass_delete', 'label' => 'pim_common.delete', 'entity_name' => 'product', 'acl_resource' => 'pim_enrich_product_remove', 'handler' => 'product_mass_delete', 'className' => 'AknButton AknButton--important AknButtonList-item', 'messages' => ['confirm_title' => 'pim_common.confirm_deletion', 'confirm_content' => 'pim_datagrid.mass_action.delete.confirm_content', 'confirm_ok' => 'pim_common.ok', 'success' => 'pim_datagrid.mass_action.delete.success', 'error' => 'pim_datagrid.mass_action.delete.error', 'empty_selection' => 'pim_datagrid.mass_action.delete.empty_selection']], 'quick_export_grid_context_xlsx' => ['type' => 'export', 'label' => 'pim_datagrid.mass_action.quick_export.xlsx_grid_context', 'handler' => 'product_quick_export', 'route' => 'pim_datagrid_export_product_index', 'route_parameters' => ['_format' => 'xlsx', '_contentType' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', '_jobCode' => 'xlsx_product_grid_context_quick_export', '_displayedColumnsOnly' => 1], 'context' => ['withHeader' => true], 'messages' => ['empty_selection' => 'pim_datagrid.mass_action.delete.empty_selection'], 'launcherOptions' => ['group' => 'quick_export']], 'quick_export_xlsx' => ['type' => 'export', 'label' => 'pim_datagrid.mass_action.quick_export.xlsx_all', 'handler' => 'product_quick_export', 'route' => 'pim_datagrid_export_product_index', 'route_parameters' => ['_format' => 'xlsx', '_contentType' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', '_jobCode' => 'xlsx_product_quick_export', '_displayedColumnsOnly' => 0], 'context' => ['withHeader' => true], 'messages' => ['empty_selection' => 'pim_datagrid.mass_action.delete.empty_selection'], 'launcherOptions' => ['group' => 'quick_export']], 'quick_export_grid_context_csv' => ['type' => 'export', 'label' => 'pim_datagrid.mass_action.quick_export.csv_grid_context', 'handler' => 'product_quick_export', 'route' => 'pim_datagrid_export_product_index', 'route_parameters' => ['_format' => 'csv', '_contentType' => 'text/csv', '_jobCode' => 'csv_product_grid_context_quick_export', '_displayedColumnsOnly' => 1], 'context' => ['withHeader' => true], 'messages' => ['empty_selection' => 'pim_datagrid.mass_action.delete.empty_selection'], 'launcherOptions' => ['group' => 'quick_export']], 'quick_export_csv' => ['type' => 'export', 'label' => 'pim_datagrid.mass_action.quick_export.csv_all', 'handler' => 'product_quick_export', 'route' => 'pim_datagrid_export_product_index', 'route_parameters' => ['_format' => 'csv', '_contentType' => 'text/csv', '_jobCode' => 'csv_product_quick_export', '_displayedColumnsOnly' => 0], 'context' => ['withHeader' => true], 'messages' => ['empty_selection' => 'pim_datagrid.mass_action.delete.empty_selection'], 'launcherOptions' => ['group' => 'quick_export']]], 'sorters' => ['columns' => ['identifier' => ['data_name' => 'identifier', 'sorter' => 'product_field'], 'family' => ['data_name' => 'familyLabel', 'sorter' => 'product_family'], 'enabled' => ['data_name' => 'enabled', 'sorter' => 'product_field'], 'completeness' => ['data_name' => 'ratio', 'sorter' => 'product_completeness'], 'created' => ['data_name' => 'created', 'sorter' => 'product_field'], 'updated' => ['data_name' => 'updated', 'sorter' => 'product_field']], 'default' => ['updated' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['family' => ['type' => 'product_family', 'label' => 'Family', 'data_name' => 'family', 'options' => ['field_options' => ['multiple' => true, 'attr' => ['empty_choice' => true]]]], 'groups' => ['type' => 'product_groups', 'label' => 'Groups', 'data_name' => 'groups', 'options' => ['field_options' => ['multiple' => true]]], 'enabled' => ['type' => 'product_enabled', 'ftype' => 'choice', 'label' => 'Status', 'data_name' => 'enabled', 'options' => ['field_options' => ['choices' => ['Enabled' => 1, 'Disabled' => 0]]]], 'scope' => ['type' => 'product_scope', 'label' => 'Scope', 'data_name' => 'values.scope', 'options' => ['field_options' => ['choices' => '@pim_catalog.repository.channel->getLabelsIndexedByCode(@pim_user.context.user->getCurrentLocaleCode())']]], 'completeness' => ['type' => 'product_and_product_model_completeness', 'label' => 'Complete', 'data_name' => 'ratio'], 'created' => ['type' => 'product_date', 'ftype' => 'date', 'data_name' => 'created', 'label' => 'Created At'], 'updated' => ['type' => 'product_date', 'ftype' => 'date', 'data_name' => 'updated', 'label' => 'Updated At'], 'label_or_identifier' => ['type' => 'label_or_identifier', 'label' => 'Label or identifier', 'data_name' => 'label_or_identifier'], 'parent' => ['label' => 'Parent', 'data_name' => 'parent', 'type' => 'product_value_string', 'ftype' => 'parent', 'options' => ['field_options' => ['attr' => ['choice_list' => true]]]]]]], 'attribute-grid' => ['options' => ['locale_parameter' => 'localeCode', 'entityHint' => 'attribute', 'manageFilters' => false, 'removeFiltersNotUsableInGrid' => false], 'source' => ['type' => 'pim_datasource_attribute', 'acl_resource' => 'pim_enrich_attribute_index'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'type' => ['label' => 'Type', 'type' => 'translateable'], 'group' => ['label' => 'Group', 'data_name' => 'groupLabel'], 'scopable' => ['label' => 'Scopable', 'frontend_type' => 'boolean-status'], 'localizable' => ['label' => 'Localizable', 'frontend_type' => 'boolean-status']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_attribute_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_attribute_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true, 'acl_resource' => 'pim_enrich_attribute_edit'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_attribute_remove']], 'sorters' => ['columns' => ['scopable' => ['data_name' => 'a.scopable'], 'localizable' => ['data_name' => 'a.localizable'], 'group' => ['data_name' => 'groupLabel'], 'label' => ['data_name' => 'label']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['code' => ['type' => 'string', 'label' => 'pim_common.code', 'data_name' => 'a.code'], 'label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label'], 'type' => ['type' => 'choice', 'data_name' => 'a.type', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_catalog.registry.attribute_type->getSortedAliases']]], 'group' => ['type' => 'choice', 'data_name' => 'attributeGroup.code', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_enrich.repository.attribute_group->findTranslatedLabels']]], 'scopable' => ['type' => 'boolean', 'data_name' => 'a.scopable'], 'localizable' => ['type' => 'boolean', 'data_name' => 'a.localizable']]]], 'family-grid' => ['options' => ['entityHint' => 'family', 'locale_parameter' => 'localeCode', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_family_index', 'type' => 'pim_datasource_family'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'attributeAsLabel' => ['label' => 'Attribute as label']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_family_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_family_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_family_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'familyLabel'], 'attributeAsLabel' => ['data_name' => 'f.attributeAsLabel']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['code' => ['type' => 'string', 'label' => 'pim_common.code', 'data_name' => 'f.code'], 'label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label'], 'attributeAsLabel' => ['type' => 'choice', 'label' => 'Attribute as label', 'data_name' => 'a.code', 'options' => ['field_options' => ['multiple' => true, 'choices' => '@pim_enrich.repository.attribute->findTranslatedLabels']]]]], 'mass_actions' => ['family_edit' => ['type' => 'edit', 'label' => 'pim_datagrid.mass_action.mass_edit', 'route' => 'pim_enrich_mass_edit_action', 'route_parameters' => ['actionName' => 'family-edit'], 'acl_resource' => 'pim_enrich_family_edit_attributes', 'className' => 'AknButton AknButton--action AknButtonList-item']]], 'group-type-grid' => ['options' => ['locale_parameter' => 'localeCode', 'entityHint' => 'group type', 'manageFilters' => false], 'source' => ['acl_resource' => 'pim_enrich_grouptype_index', 'type' => 'pim_datasource_group_type'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_grouptype_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_grouptype_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true, 'acl_resource' => 'pim_enrich_grouptype_edit'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_grouptype_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'label']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label']]]], 'association-type-grid' => ['options' => ['entityHint' => 'association type', 'locale_parameter' => 'localeCode', 'manageFilters' => false], 'source' => ['type' => 'pim_datasource_association_type', 'acl_resource' => 'pim_enrich_associationtype_index'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'route' => 'pim_enrich_associationtype_edit', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_associationtype_rest_remove', 'params' => [0 => 'code']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true, 'acl_resource' => 'pim_enrich_associationtype_edit'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_associationtype_remove']], 'sorters' => ['columns' => ['label' => ['data_name' => 'label']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label']]]], 'family-variant-grid' => ['options' => ['entityHint' => 'family_variant', 'requireJSModules' => [0 => 'oro/datagrid/pagination-input'], 'locale_parameter' => 'localeCode', 'manageFilters' => false], 'source' => ['type' => 'pim_datasource_family_variant', 'repository_method' => 'createDatagridQueryBuilder'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'level_1' => ['label' => 'Variant axis level 1', 'frontend_type' => 'label'], 'level_2' => ['label' => 'Variant axis level 2', 'frontend_type' => 'label']], 'properties' => ['id' => NULL, 'familyVariantCode' => NULL, 'familyCode' => NULL, 'delete_link' => ['type' => 'url', 'route' => 'pim_enrich_family_variant_rest_remove', 'params' => [0 => 'familyVariantCode']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'edit-in-modal', 'label' => 'pim_common.edit', 'propertyCode' => 'familyVariantCode', 'fetcher' => 'family-variant', 'rowAction' => true, 'acl_resource' => 'pim_enrich_family_edit_variants'], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link', 'acl_resource' => 'pim_enrich_family_variant_remove']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'label' => 'Label', 'data_name' => 'translation.label']]]], 'last-import-executions-grid' => ['extend' => 'last-executions-grid', 'source' => ['acl_resource' => 'pim_importexport_import_execution_index'], 'options' => ['entityHint' => 'import report'], 'properties' => ['show_link' => ['route' => 'pim_importexport_import_execution_show']]], 'export-profile-grid' => ['extend' => 'job-profile-grid', 'options' => ['entityHint' => 'export profile'], 'source' => ['acl_resource' => 'pim_importexport_export_profile_index'], 'properties' => ['edit_link' => ['route' => 'pim_importexport_export_profile_edit'], 'delete_link' => ['route' => 'pim_enrich_job_instance_rest_export_delete'], 'show_link' => ['route' => 'pim_importexport_export_profile_show']], 'actions' => ['view' => ['acl_resource' => 'pim_importexport_export_profile_show', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--view'], 'type' => 'navigate', 'label' => 'pim_datagrid.action.show.title', 'link' => 'show_link', 'rowAction' => true], 'edit' => ['acl_resource' => 'pim_importexport_export_profile_edit', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link'], 'delete' => ['acl_resource' => 'pim_importexport_export_profile_remove', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link']], 'filters' => ['columns' => ['job_name' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getExportJobChoices']]], 'connector' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getExportConnectorChoices']]]]]], 'last-export-executions-grid' => ['extend' => 'last-executions-grid', 'source' => ['acl_resource' => 'pim_importexport_export_execution_index'], 'options' => ['entityHint' => 'export report'], 'properties' => ['show_link' => ['route' => 'pim_importexport_export_execution_show']]], 'job-profile-grid' => ['options' => ['manageFilters' => false], 'source' => ['type' => 'pim_datasource_job_instance'], 'columns' => ['label' => ['label' => 'Label', 'frontend_type' => 'label'], 'job_name' => ['label' => 'Job', 'type' => 'job_name'], 'connector' => ['label' => 'Connector'], 'status' => ['label' => 'Status', 'type' => 'translateable', 'data_name' => 'statusLabel']], 'properties' => ['code' => NULL, 'edit_link' => ['type' => 'url', 'params' => [0 => 'code']], 'delete_link' => ['type' => 'url', 'params' => [0 => 'code']], 'show_link' => ['type' => 'url', 'params' => [0 => 'code']]], 'sorters' => ['columns' => ['label' => ['data_name' => 'j.label'], 'connector' => ['data_name' => 'j.connector'], 'status' => ['data_name' => 'statusLabel']], 'default' => ['label' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['label' => ['type' => 'search', 'data_name' => 'j.label'], 'job_name' => ['type' => 'choice', 'data_name' => 'j.jobName', 'options' => ['field_options' => ['multiple' => true]]], 'connector' => ['type' => 'choice', 'data_name' => 'j.connector', 'options' => ['field_options' => ['multiple' => true]]], 'status' => ['type' => 'choice', 'data_name' => 'j.status', 'options' => ['field_options' => ['multiple' => true, 'choices' => ['pim_import_export.status.0' => 0]]]]]]], 'import-execution-grid' => ['extend' => 'job-execution-grid', 'options' => ['entityHint' => 'import report'], 'source' => ['acl_resource' => 'pim_importexport_import_execution_index'], 'properties' => ['show_link' => ['route' => 'pim_importexport_import_execution_show']], 'filters' => ['columns' => ['job_name' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getImportJobChoices']]]]]], 'last-executions-grid' => ['source' => ['type' => 'pim_datasource_job_execution'], 'options' => ['manageFilters' => false, 'toolbarOptions' => ['hide' => true]], 'columns' => ['date' => ['label' => 'job_tracker.filter.started_at', 'data_name' => 'createTime', 'type' => 'datetime_with_user_timezone', 'frontend_type' => 'datetime'], 'status' => ['label' => 'Status', 'template' => 'PimImportExportBundle:Property:status.html.twig', 'type' => 'twig', 'frontend_type' => 'html', 'data_name' => 'statusLabel'], 'warning' => ['label' => 'Warnings', 'template' => 'PimImportExportBundle:Property:warning.html.twig', 'type' => 'twig', 'frontend_type' => 'html', 'data_name' => 'warningCount']], 'properties' => ['id' => NULL, 'show_link' => ['type' => 'url', 'params' => [0 => 'id']]], 'actions' => ['show' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--view'], 'type' => 'navigate', 'label' => 'pim_datagrid.action.show.title', 'link' => 'show_link', 'rowAction' => true]]], 'export-execution-grid' => ['extend' => 'job-execution-grid', 'options' => ['entityHint' => 'export report'], 'source' => ['acl_resource' => 'pim_importexport_export_execution_index'], 'properties' => ['show_link' => ['route' => 'pim_importexport_export_execution_show']], 'filters' => ['columns' => ['job_name' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getExportJobChoices']]]]]], 'job-tracker-grid' => ['options' => ['manageFilters' => false], 'source' => ['type' => 'pim_datasource_job_tracker'], 'columns' => ['job' => ['label' => 'Job', 'data_name' => 'jobLabel', 'frontend_type' => 'label'], 'type' => ['label' => 'Type', 'type' => 'job_type'], 'started_at' => ['label' => 'job_tracker.filter.started_at', 'type' => 'datetime_with_user_timezone', 'data_name' => 'startTime', 'frontend_type' => 'datetime'], 'status' => ['label' => 'Status', 'type' => 'twig', 'template' => 'PimImportExportBundle:Property:status.html.twig', 'frontend_type' => 'html'], 'warning' => ['label' => 'Warnings', 'type' => 'twig', 'data_name' => 'warningCount', 'template' => 'PimImportExportBundle:Property:warning.html.twig', 'frontend_type' => 'html']], 'actions' => ['view' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--view'], 'type' => 'navigate', 'label' => 'pim_datagrid.action.show.title', 'link' => 'show_link', 'rowAction' => true]], 'sorters' => ['columns' => ['job' => ['data_name' => 'jobLabel'], 'type' => ['data_name' => 'type'], 'started_at' => ['data_name' => 'startTime'], 'status' => ['data_name' => 'statusLabel'], 'warning' => ['data_name' => 'warningCount']], 'default' => ['started_at' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['job' => ['type' => 'search', 'label' => 'Job', 'data_name' => 'j.label'], 'type' => ['type' => 'string', 'label' => 'Type', 'data_name' => 'j.type'], 'status' => ['type' => 'choice', 'data_name' => 'e.status', 'options' => ['field_options' => ['multiple' => true, 'choices' => 'Akeneo\\Tool\\Component\\Batch\\Job\\BatchStatus::getAllLabels()']]]]], 'properties' => ['id' => NULL, 'show_link' => ['type' => 'url', 'params' => [0 => 'id'], 'route' => 'pim_enrich_job_tracker_show']]], 'job-execution-grid' => ['source' => ['type' => 'pim_datasource_job_execution'], 'options' => ['manageFilters' => false], 'columns' => ['code' => ['label' => 'Code', 'data_name' => 'jobCode'], 'label' => ['label' => 'Label', 'data_name' => 'jobLabel'], 'job_name' => ['label' => 'Job', 'type' => 'translateable', 'data_name' => 'jobName'], 'date' => ['label' => 'Date', 'data_name' => 'date', 'type' => 'datetime', 'frontend_type' => 'datetime'], 'status' => ['label' => 'Status', 'template' => 'PimImportExportBundle:Property:status.html.twig', 'type' => 'twig', 'frontend_type' => 'html', 'data_name' => 'statusLabel'], 'warning' => ['label' => 'Warnings', 'template' => 'PimImportExportBundle:Property:warning.html.twig', 'type' => 'twig', 'frontend_type' => 'html', 'data_name' => 'warningCount']], 'properties' => ['id' => NULL, 'show_link' => ['type' => 'url', 'params' => [0 => 'id']]], 'actions' => ['show' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--view'], 'type' => 'navigate', 'label' => 'pim_datagrid.action.show.title', 'link' => 'show_link', 'rowAction' => true]], 'sorters' => ['columns' => ['code' => ['data_name' => 'jobCode'], 'label' => ['data_name' => 'jobLabel'], 'job_name' => ['data_name' => 'jobName'], 'date' => ['data_name' => 'date'], 'status' => ['data_name' => 'statusLabel'], 'warning' => ['data_name' => 'warningCount']], 'default' => ['date' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']], 'filters' => ['columns' => ['code' => ['type' => 'string', 'data_name' => 'j.code'], 'label' => ['type' => 'search', 'data_name' => 'j.label'], 'job_name' => ['type' => 'choice', 'data_name' => 'j.jobName', 'options' => ['field_options' => ['multiple' => true]]], 'date' => ['type' => 'datetime', 'data_name' => 'e.startTime'], 'status' => ['type' => 'choice', 'data_name' => 'e.status', 'options' => ['field_options' => ['multiple' => true, 'choices' => 'Akeneo\\Tool\\Component\\Batch\\Job\\BatchStatus::getAllLabels()']]], 'warning' => ['type' => 'number', 'data_name' => 'warningCount', 'filter_by_having' => true]]]], 'import-profile-grid' => ['extend' => 'job-profile-grid', 'options' => ['entityHint' => 'import profile'], 'source' => ['acl_resource' => 'pim_importexport_import_profile_index'], 'properties' => ['edit_link' => ['route' => 'pim_importexport_import_profile_edit'], 'delete_link' => ['route' => 'pim_enrich_job_instance_rest_import_delete'], 'show_link' => ['route' => 'pim_importexport_import_profile_show']], 'actions' => ['view' => ['acl_resource' => 'pim_importexport_import_profile_show', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--view'], 'type' => 'navigate', 'label' => 'pim_datagrid.action.show.title', 'link' => 'show_link', 'rowAction' => true], 'edit' => ['acl_resource' => 'pim_importexport_import_profile_edit', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link'], 'delete' => ['acl_resource' => 'pim_importexport_import_profile_remove', 'launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link']], 'filters' => ['columns' => ['job_name' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getImportJobChoices']]], 'connector' => ['options' => ['field_options' => ['choices' => '@pim_import_export.datagrid.provider.job->getImportConnectorChoices']]]]]], 'translatable-entity-grid' => ['options' => ['locale_parameter' => 'localeCode'], 'source' => ['type' => 'pim_datasource_default', 'repository_method' => 'createDatagridQueryBuilder'], 'columns' => ['code' => ['label' => 'Code'], 'label' => ['label' => 'Label']], 'properties' => ['id' => NULL, 'edit_link' => ['type' => 'url', 'params' => [0 => 'id']], 'delete_link' => ['type' => 'url', 'params' => [0 => 'id']]], 'actions' => ['edit' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--edit'], 'type' => 'navigate', 'label' => 'pim_common.edit', 'link' => 'edit_link', 'rowAction' => true], 'delete' => ['launcherOptions' => ['className' => 'AknIconButton AknIconButton--small AknIconButton--trash'], 'type' => 'delete', 'label' => 'pim_common.delete', 'link' => 'delete_link']], 'sorters' => ['columns' => ['label' => ['data_name' => 'label']], 'default' => ['code' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_ASC']], 'filters' => ['columns' => ['code' => ['type' => 'string', 'label' => 'Code'], 'label' => ['type' => 'string', 'label' => 'Label', 'data_name' => 'translation.label']]]], 'history-grid' => ['source' => ['type' => 'pim_datasource_smart', 'entity' => 'Akeneo\\Tool\\Component\\Versioning\\Model\\Version', 'repository_method' => 'createDatagridQueryBuilder'], 'options' => ['requireJSModules' => [0 => 'oro/datagrid/pagination-input'], 'rowView' => 'oro/datagrid/history-row'], 'columns' => ['version' => ['label' => 'Version', 'type' => 'field', 'frontend_type' => 'expand-history'], 'author' => ['label' => 'Author', 'type' => 'field', 'frontend_type' => 'string'], 'loggedAt' => ['label' => 'Logged at', 'type' => 'property_date', 'frontend_type' => 'datetime'], 'changes' => ['label' => 'Changes', 'type' => 'changeset', 'frontend_type' => 'history-diff', 'data_name' => 'changeset', 'renderable' => false]], 'sorters' => ['columns' => ['version' => ['data_name' => 'version'], 'author' => ['data_name' => 'author'], 'loggedAt' => ['data_name' => 'loggedAt']], 'default' => ['loggedAt' => 'Oro\\Bundle\\DataGridBundle\\Extension\\Sorter\\OrmSorterExtension::DIRECTION_DESC']]]], new \Oro\Bundle\DataGridBundle\Provider\SystemAwareResolver($this)));

return $instance;
