<?php
namespace App\Entity\Pages;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Kunstmaan\NodeBundle\Entity\AbstractPage;
use Kunstmaan\PagePartBundle\Helper\HasPageTemplateInterface;
use Kunstmaan\NodeBundle\Controller\SlugActionInterface;
#[ORM\Entity()]
#[ORM\Table(name: 'app_inscriptions_content_pages')]
class InscriptionsContentPage extends AbstractPage implements HasPageTemplateInterface
{
#[ORM\Column(name: 'intro', type:"text", nullable:true)]
private $intro;
/**
* Set intro
*
* @param string $intro
*
* @return InscriptionsContentPage
*/
public function setIntro($intro)
{
$this->intro = $intro;
return $this;
}
/**
* Get intro
*
* @return string
*/
public function getIntro()
{
return $this->intro;
}
/**
* Returns the default backend form type for this page.
*
* @return string
*/
public function getDefaultAdminType()
{
return \App\Form\Pages\InscriptionsContentPageAdminType::class;
}
/**
* @return array
*/
public function getPossibleChildTypes()
{
return [];
}
/**
* @return string[]
*/
public function getPagePartAdminConfigurations()
{
return [
];
}
/**
* {@inheritdoc}
*/
public function getPageTemplates()
{
return [
'inscriptionscontentpage',
];
}
/**
* Get the twig view.
*
* @return string
*/
public function getDefaultView()
{
return 'Pages/InscriptionsContentPage/view.html.twig';
}
public function getControllerAction()
{
return 'App\Controller\InscriptionsContentPage:service';
}
}