You are here

public function OgAdminRoutesEventInterface::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.

1 method overrides OgAdminRoutesEventInterface::setRoutesInfo()
OgAdminRoutesEvent::setRoutesInfo in src/Event/OgAdminRoutesEvent.php
Set routes info.

File

src/Event/OgAdminRoutesEventInterface.php, line 30

Class

OgAdminRoutesEventInterface
Interface for OgAdminRoutesEvent classes.

Namespace

Drupal\og\Event

Code

public function setRoutesInfo(array $routes_info);