You are here

public function GdprConsentAgreement::defaultUri in General Data Protection Regulation 7

Implement a custom default URI.

Overrides Entity::defaultUri

File

modules/gdpr_consent/gdpr_consent.module, line 717
Contains hook implementations and shared functions.

Class

GdprConsentAgreement
Our custom entity class.

Code

public function defaultUri() {
  return array(
    'path' => 'admin/config/gdpr/agreements/' . $this
      ->identifier(),
  );
}