public function PagePolicy::title in General Data Protection Regulation Compliance 8
Page Title.
1 string reference to 'PagePolicy::title'
File
- src/
Controller/ PagePolicy.php, line 74  
Class
- PagePolicy
 - Controller routines for page routes.
 
Namespace
Drupal\gdpr_compliance\ControllerCode
public function title() {
  $title = $this
    ->t('Privacy and Cookie policy');
  $titles = [
    'en' => $title,
    'de' => $title,
    'ru' => $this
      ->t('Agreement on the use of personal data'),
  ];
  $title = $titles[$this->lang];
  return $title;
}