You are here

protected function Registration::defaultUri in Entity Registration 8.2

Same name in this branch
  1. 8.2 lib/registration.entity.inc \Registration::defaultUri()
  2. 8.2 src/Registration.php \Drupal\registration\Registration::defaultUri()
Same name and namespace in other branches
  1. 7.2 lib/registration.entity.inc \Registration::defaultUri()
  2. 7 lib/registration.entity.inc \Registration::defaultUri()

Specify URI.

File

lib/registration.entity.inc, line 212
Entity hooks and callbacks for registrations.

Class

Registration
Main class for Registration entities.

Code

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