<?php
namespace App\Entity\Pages;
use Doctrine\ORM\Mapping as ORM;
use Kunstmaan\NodeSearchBundle\Helper\SearchTypeInterface;
use App\Repository\EssaiePageRepository;
#[ORM\Entity()]
#[ORM\Table(name: 'app_formation_continue_pages')]
class FormationContinuePage extends \Kunstmaan\NodeBundle\Entity\AbstractPage implements \Kunstmaan\PagePartBundle\Helper\HasPageTemplateInterface, SearchTypeInterface
{
/**
* {@inheritdoc}
*/
public function getSearchType()
{
return 'Formations Continues';
}
/**
* Returns the default backend form type for this page.
*
* @return string
*/
public function getDefaultAdminType()
{
return \App\Form\Pages\FormationContinuePageAdminType::class;
}
/**
* @return array
*/
public function getPossibleChildTypes()
{
return [];
}
/**
* @return string[]
*/
public function getPagePartAdminConfigurations()
{
return [];
}
/**
* {@inheritdoc}
*/
public function getPageTemplates()
{
return [
'formationcontinuepage',
];
}
/**
* Get the twig view.
*
* @return string
*/
public function getDefaultView()
{
return 'Pages/FormationContinuePage/view.html.twig';
}
public function getControllerAction()
{
return 'IUTUDCWebsiteBundle:FormationPage:service';
}
}