Redirect.php in Entity Legal 8
File
src/Plugin/EntityLegal/AcceptanceMethod/Redirect.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_legal\Plugin\EntityLegal\AcceptanceMethod\Redirect.
*/
namespace Drupal\entity_legal\Plugin\EntityLegal\AcceptanceMethod;
use Drupal\entity_legal\AcceptanceMethod\AcceptanceMethodInterface;
/**
* Plugin implementation of the 'redirect' acceptance method.
*
* @AcceptanceMethod(
* id = "redirect",
* label = @Translation("Redirect every page load to legal document until accepted"),
* new_users = false,
* existing_users = true,
* )
*/
class Redirect implements AcceptanceMethodInterface {
}