12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- /*
- * This file is part of the Sonata Project package.
- *
- * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Sonata\UserBundle\Block\Breadcrumb;
- use Sonata\BlockBundle\Block\BlockContextInterface;
- /**
- * Class for user breadcrumbs.
- *
- * @author Sylvain Deloux <sylvain.deloux@ekino.com>
- */
- class UserIndexBreadcrumbBlockService extends BaseUserProfileBreadcrumbBlockService
- {
- /**
- * {@inheritdoc}
- */
- public function getName()
- {
- return 'sonata.user.block.breadcrumb_index';
- }
- /**
- * {@inheritdoc}
- */
- protected function getMenu(BlockContextInterface $blockContext)
- {
- $menu = $this->getRootMenu($blockContext);
- return $menu;
- }
- }
|