71         $namespace = $this->
getContext()->getRequestParam(
'namespace', $this->
getContext()->getNamespace());
    73         if (!empty($namespace)) {
    74             $bookmarks = $this->bookmarkManagement->loadByNamespace($namespace);
    76             foreach (
$bookmarks->getItems() as $bookmark) {
    77                 if ($bookmark->isCurrent()) {
    78                     $config[
'activeIndex'] = $bookmark->getIdentifier();
 
setData($key, $value=null)
 
__construct(ContextInterface $context, BookmarkRepositoryInterface $bookmarkRepository, BookmarkManagementInterface $bookmarkManagement, array $components=[], array $data=[])