Created on 14 March 2016, almost 9 years ago
Updated 8 December 2023, about 1 year ago

Hi Peter,

I'd like to give this module a try. At the moment however, I think search_exclude_routing.yml is missing from the repository.

public function alterRoutes(RouteCollection $collection) {
    if ($route = $collection->get('search.view_node_search')) {
      $route->setRequirement('_access', 'FALSE');
    }

    if ($route = $collection->get('search.view_exclude_search')) {
      $route->setPath('search/node');
    }
}

search.view_exclude_search is not found, and as per your code above, the default '/search/node' is now restricted.

Or am I missing something?

💬 Support request
Status

Closed: won't fix

Component

Code

Created by

🇹🇭Thailand anthony.bouch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024