class TaskTypeHtmlRouteProvider in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_tasks/src/TaskTypeHtmlRouteProvider.php \Drupal\gdpr_tasks\TaskTypeHtmlRouteProvider
- 3.0.x modules/gdpr_tasks/src/TaskTypeHtmlRouteProvider.php \Drupal\gdpr_tasks\TaskTypeHtmlRouteProvider
Provides routes for Task type entities.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\gdpr_tasks\TaskTypeHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Expanded class hierarchy of TaskTypeHtmlRouteProvider
See also
\Drupal\entity\Routing\AdminHtmlRouteProvider
\Drupal\entity\Routing\DefaultHtmlRouteProvider
File
- modules/
gdpr_tasks/ src/ TaskTypeHtmlRouteProvider.php, line 14
Namespace
Drupal\gdpr_tasksView source
class TaskTypeHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}