20 lines
417 B
PHP
20 lines
417 B
PHP
<?php
|
|
|
|
namespace Trinity\Bundle\ContentManagerBundle\Block;
|
|
|
|
use Trinity\Bundle\ContentManagerBundle\Model\Block;
|
|
|
|
class TextBlock extends Block
|
|
{
|
|
const DEFAULT_TEMPLATE = 'TrinityContentManagerBundle:Block:block_title.html.twig';
|
|
|
|
public function getTemplate()
|
|
{
|
|
if ($this->template === null) {
|
|
return $this::DEFAULT_TEMPLATE;
|
|
}
|
|
|
|
return parent::getTemplate();
|
|
}
|
|
}
|