public function SiteSchema::getRoutes

Get the routes for the types of terms defined in this schema.

Return value

array An array of route patterns, keyed by controller method name.

File

drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/SiteSchema.php, line 85
Contains SiteSchema.

Class

SiteSchema
Defines a site-generated schema.

Namespace

Drupal\rdf\SiteSchema

Code

public function getRoutes() {
  return array(
    'bundle' => $this->schemaPath . BundleSchema::$uriPattern,
  );
}