<?php
namespace Plugin\CMBlogPro42\Form\Type\Admin;
use Eccube\Form\Type\MasterType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver;
class BlogStatusType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'class' => 'Plugin\CMBlogPro42\Entity\BlogStatus',
'expanded' => false,
]);
}
/**
* {@inheritdoc}
*/
public function getParent()
{
return MasterType::class;
}
/**
* {@inheritdoc}
*/
public function getBlockPrefix()
{
return 'blog_status';
}
}