* * 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 */ 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; } }