You are here

Url.php in Persistent URL 8

Namespace

Drupal\purl

File

src/Url.php
View source
<?php

/**
 * Created by PhpStorm.
 * User: bez
 * Date: 2016-02-04
 * Time: 3:53 PM
 */
namespace Drupal\purl;

use Drupal\Core\Url as UrlBase;
class Url extends UrlBase {
  protected function urlGenerator() {
    if (!$this->urlGenerator) {
      $this->urlGenerator = \Drupal::getContainer()
        ->get('purl.url_generator');
    }
    return $this->urlGenerator;
  }

}

Classes

Namesort descending Description
Url