/** * Return route name. If route can be multiples - it prefixes with rubricFullPathCode * rubric: /some/path/, route : index , route name will be some_path_index * @param $name * @return string */ protected function prepareRouteName($name) { return $this->allowMultiple && $this->rubric ? $this->moduleManager->getEntityRouter()->routeNameForRubricAction($this->rubric, $name) : $name; }