@file Class that wraps around legacy hook_block_view/config/save() hooks.
Hierarchy
- class LayoutHandler
- class Block
- class BlockLegacy
- class Block
Expanded class hierarchy of BlockLegacy
File
- core/
modules/ layout/ includes/ block_legacy.class.inc, line 6 - Class that wraps around legacy hook_block_view/config/save() hooks.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
LayoutHandler:: |
function | Assemble a human-readable label of this object. | |
BlockLegacy:: |
function |
Return the title of a block as configured in the layout. Overrides Block:: |
|
BlockLegacy:: |
function |
Return the content of a block. Overrides Block:: |
|
BlockLegacy:: |
function |
Return an administrative title that will always have a value. Overrides Block:: |
|
BlockLegacy:: |
function |
Submit handler to save the form settings. Overrides Block:: |
|
BlockLegacy:: |
function |
Build the settings form for editing this block. Overrides Block:: |
|
BlockLegacy:: |
protected | function | Build a block using the legacy hook_block_view(). |
BlockLegacy:: |
private | property | The content for this block as provided by hook_block_view(). |
Block:: |
function |
Create a new Block object. Overrides LayoutHandler:: |
|
Block:: |
function |
Convert the configuration of this block to an array for storage. Overrides LayoutHandler:: |
|
Block:: |
function | Set the contexts for this block. | |
Block:: |
function | Do any processing prior to getTitle() and getContent() being called. | |
Block:: |
function | Get a list of all required context plugin names for this block. | |
Block:: |
function | Clone this block to give it a new UUID but the same configuration. | |
Block:: |
function | Allows an array of "child blocks" for display in the "Add Block" dialog. | |
Block:: |
function | Return the block info for this block, as provided by hook_block_info(). | |
Block:: |
function | Return a preview for this block. | |
Block:: |
function | Return a fieldset listing any visibility conditions set for this block. | |
Block:: |
function | Validate handler to validate the form settings. | |
Block:: |
function | Check if this block should be shown based on current contexts. |