hasParentFieldDescription
, getPersistentParameters
,
getParentFieldDescription
, getUniqid
, getBaseCodeRoute
,
getIdParameter
to the AdminInterface
If you do not extend the Admin class, you need to add these methods tobtn-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.