SilverStripe\ElementalBlocks\Block\FileBlock
Synopsis
class FileBlock
extends BaseElement
{
- // members
- private static array $has_one = ;
- private static array $owns = ;
- private static string $singular_name = 'file';
- private static string $plural_name = 'files';
- private static string $icon = 'font-icon-block-file';
- private static string $table_name = 'S_EB_FileBlock';
- // methods
- public void getType()
- public void getSummary()
- public DBHTMLText getSummaryThumbnail()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $has_one
- $icon
- $owns
- $plural_name
- $singular_name
- $table_name
Methods
public
- getSummary()
- getSummaryThumbnail() — Return a thumbnail of the file, if it's an image. Used in GridField preview summaries.
- getType()