Add custom HTML to Branding config object.
This commit is contained in:
parent
3078f4f686
commit
da51ec823c
|
@ -4,6 +4,19 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Utilities\Types;
|
||||
|
||||
class PodcastBrandingConfiguration extends AbstractStationConfiguration
|
||||
{
|
||||
public const PUBLIC_CUSTOM_HTML = 'public_custom_html';
|
||||
|
||||
public function getPublicCustomHtml(): ?string
|
||||
{
|
||||
return Types::stringOrNull($this->get(self::PUBLIC_CUSTOM_HTML), true);
|
||||
}
|
||||
|
||||
public function setPublicCustomHtml(?string $html): void
|
||||
{
|
||||
$this->set(self::PUBLIC_CUSTOM_HTML, $html);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue