You are here

protected function Registration::defaultUri in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 src/Registration.php \Drupal\registration\Registration::defaultUri()

Specify URI.

File

src/Registration.php, line 215

Class

Registration
Defines the Registration entity.

Namespace

Drupal\registration

Code

protected function defaultUri() {
  return array(
    'path' => 'registration/' . $this
      ->internalIdentifier(),
  );
}