BlockText extends Block
This class allows us to create text blocks.
Hierarchy
- class LayoutHandler
Expanded class hierarchy of BlockText
File
- core/
modules/ layout/ includes/ block.text.inc, line 8
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Block:: |
function | Check if this block should be shown based on current contexts. | |
Block:: |
function | Return a fieldset listing any visibility conditions set for this block. | |
Block:: |
function | Return a preview for this block. | |
Block:: |
function | Return the block info for this block, as provided by hook_block_info(). | |
Block:: |
function | Allows an array of "child blocks" for display in the "Add Block" dialog. | |
Block:: |
function | Clone this block to give it a new UUID but the same configuration. | |
Block:: |
function | Get a list of all required context plugin names for this block. | |
Block:: |
function | Do any processing prior to getTitle() and getContent() being called. | |
Block:: |
function | Set the contexts for this block. | |
Block:: |
function |
Convert the configuration of this block to an array for storage. Overrides LayoutHandler:: |
|
BlockText:: |
function |
Builds the block's configuration form. Overrides Block:: |
|
BlockText:: |
function |
Submit handler to save the form settings. Overrides Block:: |
|
BlockText:: |
function |
Validates the form settings. Overrides Block:: |
|
BlockText:: |
function |
Sets title text on draggable block panel in Layout builder. Overrides Block:: |
|
BlockText:: |
function |
Returns the rendered content of this block. Overrides Block:: |
|
BlockText:: |
function |
Sets block subject on block view. Overrides Block:: |
|
BlockText:: |
function |
Create a new Block object. Overrides Block:: |
|
LayoutHandler:: |
function | Assemble a human-readable label of this object. |