public function ContentTypeMeeting::getViewContentUrl in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/Plugin/OpignoGroupManagerContentType/ContentTypeMeeting.php \Drupal\opigno_moxtra\Plugin\OpignoGroupManagerContentType\ContentTypeMeeting::getViewContentUrl()
Get the URL object of the main view page of a specific entity.
Parameters
int $entity_id: The entity ID.
Return value
\Drupal\Core\Url The tool entity URL.
Overrides ContentTypeInterface::getViewContentUrl
File
- src/
Plugin/ OpignoGroupManagerContentType/ ContentTypeMeeting.php, line 61
Class
- ContentTypeMeeting
- Class ContentTypeMeeting.
Namespace
Drupal\opigno_moxtra\Plugin\OpignoGroupManagerContentTypeCode
public function getViewContentUrl($entity_id) {
return Url::fromRoute('entity.opigno_moxtra_meeting.canonical', [
'opigno_moxtra_meeting' => $entity_id,
]);
}