You are here

public function ContentTypeMeeting::getViewContentUrl in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x 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\OpignoGroupManagerContentType

Code

public function getViewContentUrl($entity_id) {
  return Url::fromRoute('entity.opigno_moxtra_meeting.canonical', [
    'opigno_moxtra_meeting' => $entity_id,
  ]);
}