src/Entity/Pages/FormationContinuePage.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Pages;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Kunstmaan\NodeSearchBundle\Helper\SearchTypeInterface;
  5. use App\Repository\EssaiePageRepository;
  6.  
  7. #[ORM\Entity()]
  8. #[ORM\Table(name'app_formation_continue_pages')]
  9. class FormationContinuePage extends \Kunstmaan\NodeBundle\Entity\AbstractPage implements \Kunstmaan\PagePartBundle\Helper\HasPageTemplateInterfaceSearchTypeInterface
  10. {
  11.     /**
  12.      * {@inheritdoc}
  13.      */
  14.     public function getSearchType()
  15.     {
  16.         return 'Formations Continues';
  17.     }
  18.     /**
  19.      * Returns the default backend form type for this page.
  20.      *
  21.      * @return string
  22.      */
  23.     public function getDefaultAdminType()
  24.     {
  25.         return \App\Form\Pages\FormationContinuePageAdminType::class;
  26.     }
  27.     /**
  28.      * @return array
  29.      */
  30.     public function getPossibleChildTypes()
  31.     {
  32.         return [];
  33.     }
  34.     /**
  35.      * @return string[]
  36.      */
  37.     public function getPagePartAdminConfigurations()
  38.     {
  39.         return [];
  40.     }
  41.     /**
  42.      * {@inheritdoc}
  43.      */
  44.     public function getPageTemplates()
  45.     {
  46.         return [
  47.             'formationcontinuepage',
  48.         ];
  49.     }
  50.     /**
  51.      * Get the twig view.
  52.      *
  53.      * @return string
  54.      */
  55.     public function getDefaultView()
  56.     {
  57.         return 'Pages/FormationContinuePage/view.html.twig';
  58.     }
  59.     
  60.     public function getControllerAction()
  61.     {
  62.         return 'IUTUDCWebsiteBundle:FormationPage:service';
  63.     }
  64. }