/**
  * @param NodeRepositoryInterface $nodeRepository
  * @param CurrentSiteIdInterface  $currentSiteManager
  * @param string                  $parent
  * @param int                     $weight
  */
 public function __construct(NodeRepositoryInterface $nodeRepository, CurrentSiteIdInterface $currentSiteManager, $parent, $weight)
 {
     parent::__construct('nodes', $weight, $parent);
     $this->nodeRepository = $nodeRepository;
     $this->currentSiteManager = $currentSiteManager;
 }
 /**
  * @param ContentTypeRepositoryInterface       $contentTypeRepository
  * @param ContextManager                       $contextManager
  * @param string                               $parent
  * @param int                                  $weight
  * @param array                                $dataParameter
  * @param TranslatorInterface                  $translator
  * @param MultiLanguagesChoiceManagerInterface $multiLanguagesChoiceManager
  */
 public function __construct(ContentTypeRepositoryInterface $contentTypeRepository, ContextManager $contextManager, $parent, $weight, array $dataParameter, TranslatorInterface $translator, MultiLanguagesChoiceManagerInterface $multiLanguagesChoiceManager)
 {
     $this->contentTypes = $contentTypeRepository->findAllNotDeletedInLastVersion($contextManager->getCurrentLocale());
     $this->multiLanguagesChoiceManager = $multiLanguagesChoiceManager;
     parent::__construct('content_type_for_content', $weight, $parent, self::ROLE_ACCESS_CONTENT_TYPE_FOR_CONTENT, $dataParameter, $translator);
 }
 /**
  * @param string $parent
  * @param int    $weight
  */
 public function __construct($parent, $weight)
 {
     parent::__construct('logs', $weight, $parent, self::ROLE_ACCESS_LOG);
 }
 /**
  * @param FolderRepositoryInterface $folderRepository
  * @param CurrentSiteIdInterface    $currentSiteManager
  * @param string                    $parent
  * @param int                       $weight
  */
 public function __construct(FolderRepositoryInterface $folderRepository, CurrentSiteIdInterface $currentSiteManager, $parent, $weight)
 {
     parent::__construct('folders', $weight, $parent, self::ROLE_ACCESS_MEDIA_FOLDER);
     $this->folderRepository = $folderRepository;
     $this->currentSiteManager = $currentSiteManager;
 }
 /**
  * @param string              $parent
  * @param int                 $weight
  * @param array               $datatableParameter
  * @param TranslatorInterface $translator
  */
 public function __construct($parent, $weight, $datatableParameter, TranslatorInterface $translator)
 {
     parent::__construct('workflow_function', $weight, $parent, self::ROLE_ACCESS_WORKFLOWFUNCTION, $datatableParameter, $translator);
 }