sonata_wrapper
block on standard_layout.html.twig
btn-outline
` from doctrine-orm-admin form actions buttonshasRoute
method to the AdminInterfacestandard_layout.html.twig
is overrided. The KNPMenu is available in sonata_menu.html.twig
template.getFieldOption
, setFieldOption
methods to the FilterInterfacegetFilterFieldDescription
method to the AdminInterfacegetMaxPageLinks
, setMaxPageLinks
methods to the PagerInterfacesonata-autocomplete-dropdown-item
is not automatically added to dropdown
autocomplete item in sonata_type_model_autocomplete
, use option dropdown_item_css_class
to set the CSS class of dropdown item.sonata_choice_field_mask
field_options
is now directly given to value
form in DateRangeType
and DateTimeRangeType
filters.sonata_type_model_autocomplete
collection
form type to sonata_type_native_collection
buildSideMenu
must now use the Admin::generateMenuUrl
method to generate the route arguments for the KnpMenu options.getTranslationLabel
method to AdminInterfacegetBatchActions
to the AdminInterface
If you do not extend the Admin class, you need to add this method to
your admin.sonata_type_model_hidden
setCurrentChild
, getCurrentChild
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.getExportFormats
, getDataSourceIterator
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.supportsPreviewMode
to the AdminInterface
If you do not extend the Admin class, you need to add this method to
your admin.getFilterParameters
to the AdminInterface
If you do not extend the Admin class, you need to add this method to
your admin.[BC BREAK] added hasParentFieldDescription
, getPersistentParameters
,
getParentFieldDescription
, getUniqid
, getBaseCodeRoute
,
getIdParameter
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.
added support for select2 (jQuery based replacement for select boxes)
btn-small
from twitter bootstrapgetTranslator
, getForm
, getBreadcrumbs
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.[BC BREAK] added getMaxPerPage
, setMaxPerPage
, setPage
,
setQuery
, getResults
to the PagerInterface
If you do not extend the Pager class, you need to add these methods to
your pager.
[BC BREAK] added isActive
to the FilterInterface
If you do not extend the Filter class, you need to add this method to
your filter.
[BC BREAK] added hasShowFieldDescription
, hasListFieldDescription
,
removeListFieldDescription
, removeFilterFieldDescription
,
hasFilterFieldDescription
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.
[BC BREAK] added reorderFilters
to the DatagridInterface
If you do not extend the Datagrid class, you need to add this method to
your Datagrid.
getListBuilder
, getDatagridBuilder
, setBaseControllerName
,
getBaseControllerName
, getFormFieldDescriptions
, getRoutes
, getFilterFieldDescriptions
,
getListFieldDescriptions
, isChild
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.getLabel
, removeShowFieldDescription
, getShowGroups
,
setShowGroups
, reorderShowGroup
to the AdminInterface
If you do not extend the Admin class, you need to add these methods to
your admin.[BC BREAK] added alterNewInstance to AdminExtensionInterface If you do not extend the AdminExtension, you need to add an empty method to your extension classes:
public function alterNewInstance(AdminInterface $admin, $object) {}
[BC BREAK] added hasRequest to the AdminInterface If you do not extend the Admin class, you need to add a hasRequest method to your admin like this (depending on how you handle the request you return in getRequest:
public function hasRequest() {
return null !== $this->request;
}
Symfony\Cmf\Bundle\FoobarBundle\Document\Bar
generated base route name admin_bundle_foobar_bar
and base pattern /cmf/bundle/bar
Symfony\Cmf\Bundle\FoobarBundle\Document\Bar
generates admin_cmf_foobar_bar
and /cmf/foobar/bar
[BC BREAK] change the configureSideMenu signature to use the AdminInterface
getListTemplate
, getEditTemplate
, getShowTemplate
=> just use getTemplate('edit')
delete
template configuration entry09334d81
, now an admin must have the role ROLE_SONATA_ADMIN
to see the top bar navigation[BC BREAK] Introduce Block Into the Admin Bundle
[BC BREAK] New configuration format for the dashboard section.