# gdpr-framework/2.1.0/src/Installer/Steps/Disclaimer.php

The GDPR Framework By Data443, version 2.1.0. 25 lines.

- Page: https://pluginprobe.com/plugins/gdpr-framework/2.1.0/code/src/Installer/Steps/Disclaimer.php
- Raw: https://pluginprobe.com/plugins/gdpr-framework/2.1.0/raw/src/Installer/Steps/Disclaimer.php
- Modified: 2022-03-03T17:26:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gdpr-framework/2.1.0/code/src/Installer/Steps/Disclaimer.php#L10-L20`.

```php
<?php


namespace Codelight\GDPR\Installer\Steps;


use Codelight\GDPR\Installer\InstallerStep;
use Codelight\GDPR\Installer\InstallerStepInterface;

class Disclaimer extends InstallerStep implements InstallerStepInterface
{
    protected $slug = 'disclaimer';

    protected $type = 'wizard';

    protected $template = 'installer/steps/disclaimer';

    protected $activeSteps = 0;

    public function submit()
    {
        global $gdpr;
        $gdpr->Options->set('plugin_disclaimer_accepted', 'yes');
    }
}
```
