Documentation

Check Opt-In-Permission

If you want to check within your own PHP code that cookie usage are allowed you can call this method:

if (\Concrete\Package\EuCookieLaw\Src\CookieDisclosure::getInstance()->areCookiesAllowed()) {
    // do something ... }

The method will return true if the user has accepted cookies or if the users country doesn't required opt-in.

Add Opt-Out Link

For adding an opt out link you can place the "Cookie Control" block type to your website.