Provides routes for Tripal Content entities.
- See also
- Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
-
Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
◆ getCollectionRoute()
| Drupal\tripal\Routing\TripalEntityHtmlRouteProvider::getCollectionRoute |
( |
EntityTypeInterface |
$entity_type | ) |
|
|
protected |
Gets the collection route.
- Parameters
-
| \Drupal\Core\Entity\EntityTypeInterface | $entity_type | The entity type. |
- Returns
- \Symfony\Component\Routing\Route|null The generated route, if available.
◆ getRoutes()
| Drupal\tripal\Routing\TripalEntityHtmlRouteProvider::getRoutes |
( |
EntityTypeInterface |
$entity_type | ) |
|
◆ getUnpublishRoute()
| Drupal\tripal\Routing\TripalEntityHtmlRouteProvider::getUnpublishRoute |
( |
EntityTypeInterface |
$entity_type | ) |
|
|
protected |
Gets the unpublish route.
- Parameters
-
| \Drupal\Core\Entity\EntityTypeInterface | $entity_type | The entity type. |
- Returns
- \Symfony\Component\Routing\Route|null The generated route, if available.
The documentation for this class was generated from the following file:
- tripal/src/Routing/TripalEntityHtmlRouteProvider.php