Skip to content

Commit

Permalink
Klaus/tt content access (#26)
Browse files Browse the repository at this point in the history
* Fix check for consented cookies and re-enable tx_tweprivacy_consent in tt_content TCA for setting access rules based on consented cookies.

Close #24
  • Loading branch information
kftw authored Jul 10, 2024
1 parent 8bfcc13 commit 6cfa092
Show file tree
Hide file tree
Showing 28 changed files with 522 additions and 413 deletions.
27 changes: 27 additions & 0 deletions Classes/Domain/Model/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ class Subject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
*/
protected $purpose = '';

/**
* Purpose short description
*
* @var string
*/
protected $purposeShort = '';

/**
* Lifetime (seconds)
*
Expand Down Expand Up @@ -214,6 +221,26 @@ public function setPurpose($purpose)
$this->purpose = $purpose;
}

/**
* Returns the purpose short description
*
* @return string
*/
public function getPurposeShort(): string
{
return $this->purposeShort;
}

/**
* Sets the purpose short description
*
* @param string $purposeShort
*/
public function setPurposeShort(string $purposeShort): void
{
$this->purposeShort = $purposeShort;
}

/**
* Returns the type
*
Expand Down
137 changes: 0 additions & 137 deletions Classes/Hooks/ContentObject/PostInitHook.php

This file was deleted.

159 changes: 0 additions & 159 deletions Classes/Hooks/ContentObject/StdWrapHook.php

This file was deleted.

Loading

0 comments on commit 6cfa092

Please sign in to comment.