class NoteTypeHtmlRouteProvider in Drupal PM (Project Management) 4.x
Provides routes for Note type entities.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\pm_note\NoteTypeHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Expanded class hierarchy of NoteTypeHtmlRouteProvider
See also
Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
File
- modules/
pm_note/ src/ NoteTypeHtmlRouteProvider.php, line 14
Namespace
Drupal\pm_noteView source
class NoteTypeHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}