public function OgAdminRoutesEvent::setRoutesInfo in Organic groups 8
Set routes info.
Array with the routes to create with the following keys:
- title
- controller.
Parameters
array $routes_info: The routes info array.
Overrides OgAdminRoutesEventInterface::setRoutesInfo
File
- src/
Event/ OgAdminRoutesEvent.php, line 25
Class
- OgAdminRoutesEvent
- Event that is fired when OG admin routes are being compiled.
Namespace
Drupal\og\EventCode
public function setRoutesInfo(array $routes_info) {
$this->routesInfo = $routes_info;
}