feat(main: Added default block classes
This commit is contained in:
@@ -170,10 +170,17 @@ final class CustomHtmlBlockGridDefinitionFactory extends AbstractGridDefinitionF
|
||||
'route_param_field' => 'id_ws_customhtml',
|
||||
'use_inline_display' => true,
|
||||
'clickable_row' => true,
|
||||
'extra_route_params' => ['idGroup' => 'id_ws_customhtml_group'],
|
||||
])
|
||||
)
|
||||
->add(
|
||||
$this->buildDeleteAction('customhtmlblock_delete', 'idCustomHtmlBlock', 'id_ws_customhtml')
|
||||
$this->buildDeleteAction(
|
||||
'customhtmlblock_delete',
|
||||
'idCustomHtmlBlock',
|
||||
'id_ws_customhtml',
|
||||
'POST',
|
||||
['idGroup' => 'id_ws_customhtml_group']
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,11 +72,6 @@ final class CustomHtmlGroupGridDefinitionFactory extends AbstractGridDefinitionF
|
||||
->setName($this->trans('Hook', [], 'Modules.Wscustomhtml.Admin'))
|
||||
->setOptions(['field' => 'hook_name'])
|
||||
)
|
||||
->add(
|
||||
(new DataColumn('custom_class'))
|
||||
->setName($this->trans('Custom classes', [], 'Modules.Wscustomhtml.Admin'))
|
||||
->setOptions(['field' => 'custom_class'])
|
||||
)
|
||||
->add(
|
||||
(new DataColumn('blocks_count'))
|
||||
->setName($this->trans('Blocks', [], 'Modules.Wscustomhtml.Admin'))
|
||||
|
||||
Reference in New Issue
Block a user