1 <?php
2
3 /*
4 * This file is part of the Icybee package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Icybee\Modules\Contents;
13
14 use ICanBoogie\ActiveRecord;
15
16 class DeleteBlock extends \Icybee\Modules\Nodes\DeleteBlock
17 {
18 /**
19 * Returns the record excerpt as preview.
20 */
21 protected function render_preview(ActiveRecord $record)
22 {
23 return $record->excerpt;
24 }
25 }