XD\Basic\Blocks\GalleryBlock
Class GalleryBlock Enable this block by editing Page.disallowed_elements in elemental.yml
Synopsis
class GalleryBlock
extends BaseElement
{
- // members
- private static string $table_name = 'Blocks_GalleryBlock';
- private static string $singular_name = 'Gallery block';
- private static string $plural_name = 'Gallery blocks';
- private static string $icon = 'font-icon-block-carousel';
- private static array $db = ;
- private static array $has_many = ;
- private static array $owns = ;
- private static array $styles = ;
- // methods
- public void getType()
- public void getCMSFields()
- public void getJSONGallery()
- public void inlineEditable()
- protected array provideBlockSchema()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $db
- $has_many
- $icon
- $owns
- $plural_name
- $singular_name
- $styles
- $table_name
Methods
protected
- provideBlockSchema() — Return file title and thumbnail for summary section of ElementEditor