You are here

public function ChecklistapiChecklist::getUrl in Checklist API 8

Gets the checklist form URL.

Return value

\Drupal\Core\Url The URL to the checklist form.

File

src/ChecklistapiChecklist.php, line 223

Class

ChecklistapiChecklist
Defines the checklist class.

Namespace

Drupal\checklistapi

Code

public function getUrl() {
  return new Url($this
    ->getRouteName());
}