<?php
namespace App\Entity\Pages;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity()]
#[ORM\Table(name: 'app_partenariat_pages')]
class PartenariatPage extends \Kunstmaan\NodeBundle\Entity\AbstractPage implements \Kunstmaan\PagePartBundle\Helper\HasPageTemplateInterface
{
#[ORM\Column(name: 'caption', type: 'text', nullable: true)]
private $description;
/**
* Set description.
*
* @param string|null $description
*
* @return PartenariatPage
*/
public function setDescription($description = null)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string|null
*/
public function getDescription()
{
return $this->description;
}
/**
* Returns the default backend form type for this page.
*
* @return string
*/
public function getDefaultAdminType()
{
return \App\Form\Pages\PartenariatPageAdminType::class;
}
/**
* @return array
*/
public function getPossibleChildTypes()
{
return [];
}
/**
* @return string[]
*/
public function getPagePartAdminConfigurations()
{
return [
'partenariatmain',
];
}
/**
* {@inheritdoc}
*/
public function getPageTemplates()
{
return [
'partenariatpage',
];
}
/**
* Get the twig view.
*
* @return string
*/
public function getDefaultView()
{
return 'Pages\PartenariatPage\view.html.twig';
}
}