@file A class that displays a particular node in a block.

Hierarchy

Expanded class hierarchy of NodeBlock

File

core/modules/node/node.block.inc, line 6
A class that displays a particular node in a block.

Members

Contains filters are case sensitive
Name Modifiers Typesort descending Description
NodeBlock::getAdminTitle function Sets title text on draggable block panel in Layout builder. Overrides Block::getAdminTitle
NodeBlock::getAdminPreview function Returns a preview for this block. Overrides Block::getAdminPreview
NodeBlock::getTitle function Sets block subject on block view. Overrides Block::getTitle
NodeBlock::getContent function Sets block content on block view. Overrides Block::getContent
NodeBlock::form function Builds the block's settings configuration form. Overrides Block::form
NodeBlock::formValidate function Validates the form settings. Overrides Block::formValidate
NodeBlock::formSubmit function Submit handler to save the form settings. Overrides Block::formSubmit
NodeBlock::loadTranslatedNode function
Block::__construct function Create a new Block object. Overrides LayoutHandler::__construct
Block::getClone function Clone this block to give it a new UUID but the same configuration.
Block::toArray function Convert the configuration of this block to an array for storage. Overrides LayoutHandler::toArray
Block::getRequiredContexts function Get a list of all required context plugin names for this block.
Block::setContexts function Set the contexts for this block.
Block::checkAccess function Check if this block should be shown based on current contexts.
Block::getBlockInfo function Return the block info for this block, as provided by hook_block_info().
Block::getChildren function Allows an array of "child blocks" for display in the "Add Block" dialog.
Block::getAdminConditionsPreview function Return a fieldset listing any visibility conditions set for this block.
Block::prepare function Do any processing prior to getTitle() and getContent() being called.
LayoutHandler::label function Assemble a human-readable label of this object.